summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-parallel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-parallel.cpp')
-rw-r--r--src/live_effects/lpe-parallel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-parallel.cpp b/src/live_effects/lpe-parallel.cpp
index e169a3b8f..6b4a55504 100644
--- a/src/live_effects/lpe-parallel.cpp
+++ b/src/live_effects/lpe-parallel.cpp
@@ -67,8 +67,8 @@ LPEParallel::doOnApply (SPLPEItem *lpeitem)
{
SPCurve *curve = SP_SHAPE(lpeitem)->curve;
- A = curve->first_point();
- B = curve->last_point();
+ A = *(curve->first_point());
+ B = *(curve->last_point());
dir = unit_vector(B - A);
offset_pt.param_set_and_write_new_value((A + B)/2 + dir.ccw() * 100);