diff options
| author | Jabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es> | 2017-09-08 20:28:13 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es> | 2017-09-08 20:28:13 +0000 |
| commit | 1f0a20e9f4270de3aff4b9ce0484e1d26c6d58da (patch) | |
| tree | ea5e92cebc8f3b38f9e607653095b2dde24ecff9 /src/live_effects/parameter/path.cpp | |
| parent | CI/AppVeyor: now compiles with poppler 0.59 (diff) | |
| download | inkscape-1f0a20e9f4270de3aff4b9ce0484e1d26c6d58da.tar.gz inkscape-1f0a20e9f4270de3aff4b9ce0484e1d26c6d58da.zip | |
Fix for bug: 1715433 :: Clone original LPE can no longer be used to fill a powerstroke path
Diffstat (limited to 'src/live_effects/parameter/path.cpp')
| -rw-r--r-- | src/live_effects/parameter/path.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index ec011b855..470535314 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -68,6 +68,7 @@ PathParam::PathParam( const Glib::ustring& label, const Glib::ustring& tip, defvalue = g_strdup(default_value); param_readSVGValue(defvalue); oncanvas_editable = true; + _from_original_d = false; _edit_button = true; _copy_button = true; _paste_button = true; @@ -444,7 +445,11 @@ PathParam::linked_modified_callback(SPObject *linked_obj, guint /*flags*/) { SPCurve *curve = NULL; if (SP_IS_SHAPE(linked_obj)) { - curve = SP_SHAPE(linked_obj)->getCurve(); + if (_from_original_d) { + curve = SP_SHAPE(linked_obj)->getCurveBeforeLPE(); + } else { + curve = SP_SHAPE(linked_obj)->getCurve(); + } } if (SP_IS_TEXT(linked_obj)) { curve = SP_TEXT(linked_obj)->getNormalizedBpath(); |
