diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2009-11-23 21:14:28 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2009-11-23 21:14:28 +0000 |
| commit | 4ce34cedc0220cd0dc02433484fa2d09d737a93f (patch) | |
| tree | 83c5d173e3bfef60ba1adc134db261ef1018e0d2 /src/sp-item-group.cpp | |
| parent | add LPE extrude. it's not finished yet! (diff) | |
| download | inkscape-4ce34cedc0220cd0dc02433484fa2d09d737a93f.tar.gz inkscape-4ce34cedc0220cd0dc02433484fa2d09d737a93f.zip | |
work on the lpe group undo bug. it's not solved, but i think LPE code does everything correct now. I think now it's the interplay between undo-system and LPE that bugs.
(bzr r8839)
Diffstat (limited to 'src/sp-item-group.cpp')
| -rw-r--r-- | src/sp-item-group.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index 54f62e093..7ac7880a7 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -43,6 +43,7 @@ #include "inkscape.h" #include "desktop-handles.h" #include "selection.h" +#include "live_effects/effect.h" #include "live_effects/lpeobject.h" #include "live_effects/lpeobject-reference.h" #include "sp-title.h" @@ -871,7 +872,7 @@ sp_group_perform_patheffect(SPGroup *group, SPGroup *topgroup, bool write) } else if (SP_IS_SHAPE(subitem)) { SPCurve * c = NULL; if (SP_IS_PATH(subitem)) { - c = sp_path_get_curve_for_edit(SP_PATH(subitem)); + c = sp_path_get_original_curve(SP_PATH(subitem)); } else { c = sp_shape_get_curve(SP_SHAPE(subitem)); } @@ -884,6 +885,9 @@ sp_group_perform_patheffect(SPGroup *group, SPGroup *topgroup, bool write) Inkscape::XML::Node *repr = SP_OBJECT_REPR(subitem); gchar *str = sp_svg_write_path(c->get_pathvector()); repr->setAttribute("d", str); +#ifdef GROUP_VERBOSE +g_message("sp_group_perform_patheffect writes 'd' attribute"); +#endif g_free(str); } |
