diff options
| author | Jabiertxof <jtx@jtx> | 2017-01-02 00:14:22 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-01-02 00:14:22 +0000 |
| commit | de63ebfb86a6908b5aaad019ae1358cdf483ce17 (patch) | |
| tree | 498a20f1edc7f4732b7619c57a8651ca1046b656 /src | |
| parent | merge mirror improvements (diff) | |
| download | inkscape-de63ebfb86a6908b5aaad019ae1358cdf483ce17.tar.gz inkscape-de63ebfb86a6908b5aaad019ae1358cdf483ce17.zip | |
attemt to mirror
(bzr r15295.1.42)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-mirror_symmetry.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/live_effects/lpe-mirror_symmetry.cpp b/src/live_effects/lpe-mirror_symmetry.cpp index f83025afc..ba3891529 100644 --- a/src/live_effects/lpe-mirror_symmetry.cpp +++ b/src/live_effects/lpe-mirror_symmetry.cpp @@ -325,12 +325,12 @@ LPEMirrorSymmetry::createMirror(Geom::Affine transform) //transform *= last_transform; //if (transform != Geom::identity()) { elemref->getRepr()->setAttribute("transform" , sp_svg_transform_write(transform)); - Inkscape::LivePathEffect::LPEObjectReference* lperef = SP_LPE_ITEM(elemref)->getCurrentLPEReference(); - if (lperef) { - PathEffectList * new_list = SP_LPE_ITEM(elemref)->path_effect_list; - new_list->remove(lperef); //current lpe ref is always our 'own' pointer from the path_effect_list - elemref->getRepr()->setAttribute("inkscape:path-effect", patheffectlist_svg_string(new_list)); - } +// Inkscape::LivePathEffect::LPEObjectReference* lperef = SP_LPE_ITEM(elemref)->getCurrentLPEReference(); +// if (lperef) { +// PathEffectList * new_list = SP_LPE_ITEM(elemref)->path_effect_list; +// new_list->remove(lperef); //current lpe ref is always our 'own' pointer from the path_effect_list +// elemref->getRepr()->setAttribute("inkscape:path-effect", patheffectlist_svg_string(new_list)); +// } //} if (elemref->parent != container) { Inkscape::XML::Node *copy = phantom->duplicate(xml_doc); |
