diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-02-27 21:52:58 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-02-27 21:52:58 +0000 |
| commit | 7086c79862b2d9bcd9f12f078854ad7e117d2cde (patch) | |
| tree | 2aa6a53390c83b807626592e21fb32d8ec7d641f /src | |
| parent | update to trunk (diff) | |
| download | inkscape-7086c79862b2d9bcd9f12f078854ad7e117d2cde.tar.gz inkscape-7086c79862b2d9bcd9f12f078854ad7e117d2cde.zip | |
fixing write knot
(bzr r13645.1.22)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-fillet-chamfer.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp index 73c504deb..2354aa5ed 100644 --- a/src/live_effects/lpe-fillet-chamfer.cpp +++ b/src/live_effects/lpe-fillet-chamfer.cpp @@ -120,6 +120,15 @@ void LPEFilletChamfer::doOnApply(SPLPEItem const *lpeItem) void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem) { SPLPEItem * splpeitem = const_cast<SPLPEItem *>(lpeItem); + if (splpeitem) { + // This writes all parameters to SVG. Is this sufficiently efficient or should we only + // write the ones that were changed? + Inkscape::LivePathEffect::Effect *lpe = splpeitem->getCurrentLPE(); + if (lpe) { + LivePathEffectObject *lpeobj = lpe->getLPEObj(); + lpeobj->updateRepr(); + } + } SPShape * shape = dynamic_cast<SPShape *>(splpeitem); if (shape) { SPCurve *c = shape->getCurve(); |
