summaryrefslogtreecommitdiffstats
path: root/src/sp-line.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-line.cpp')
-rw-r--r--src/sp-line.cpp3
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();
}