summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-offset.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-02 23:12:03 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-02 23:12:03 +0000
commitdb0fad4a62a657057339dfb7755cee69ef9138a3 (patch)
tree433f0dbfa541c33c55aa2a33af6d472e03d828d8 /src/live_effects/lpe-offset.cpp
parentadded more fillet/chamfer properties (diff)
parentExtensions. Fix for Bug #1426684 (INX optiongroup does not trigger a refresh). (diff)
downloadinkscape-db0fad4a62a657057339dfb7755cee69ef9138a3.tar.gz
inkscape-db0fad4a62a657057339dfb7755cee69ef9138a3.zip
update to trunk
(bzr r13645.1.29)
Diffstat (limited to 'src/live_effects/lpe-offset.cpp')
-rw-r--r--src/live_effects/lpe-offset.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/live_effects/lpe-offset.cpp b/src/live_effects/lpe-offset.cpp
index dc91775b7..232f1c9db 100644
--- a/src/live_effects/lpe-offset.cpp
+++ b/src/live_effects/lpe-offset.cpp
@@ -42,7 +42,9 @@ LPEOffset::~LPEOffset()
void
LPEOffset::doOnApply(SPLPEItem const* lpeitem)
{
- offset_pt.param_set_and_write_new_value(*(SP_SHAPE(lpeitem)->_curve->first_point()));
+ Geom::Point offset = *(SP_SHAPE(lpeitem)->_curve->first_point());
+ offset_pt.param_update_default(offset);
+ offset_pt.param_set_and_write_new_value(offset);
}
static void append_half_circle(Geom::Piecewise<Geom::D2<Geom::SBasis> > &pwd2,