diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2011-04-01 22:59:01 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2011-04-01 22:59:01 +0000 |
| commit | d6978fcea4a2ccd2d9cccefabc6558a74f332a6d (patch) | |
| tree | 98ea2cff482d6b2196e4bffa4fab3a7a4d5aead0 /src/sp-line.cpp | |
| parent | German translation update. (diff) | |
| download | inkscape-d6978fcea4a2ccd2d9cccefabc6558a74f332a6d.tar.gz inkscape-d6978fcea4a2ccd2d9cccefabc6558a74f332a6d.zip | |
add curve before LPE to SPShape. this is useful for helperpath display. It was inspired from fixing bug 407008
Fixed bugs:
- https://launchpad.net/bugs/407008
(bzr r10142)
Diffstat (limited to 'src/sp-line.cpp')
| -rw-r--r-- | src/sp-line.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sp-line.cpp b/src/sp-line.cpp index 100eefe87..72fe2cfa2 100644 --- a/src/sp-line.cpp +++ b/src/sp-line.cpp @@ -221,6 +221,9 @@ void SPLine::setShape(SPShape *shape) c->lineto(line->x2.computed, line->y2.computed); shape->setCurveInsync(c, TRUE); // *_insync does not call update, avoiding infinite recursion when set_shape is called by update + shape->setCurveBeforeLPE(c); + + // LPE's cannot be applied to lines. (the result can (generally) not be represented as SPLine) c->unref(); } |
