summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
authorBastien Bouclet <bastien.bouclet@gmail.com>2008-05-17 10:47:58 +0000
committerbgk <bgk@users.sourceforge.net>2008-05-17 10:47:58 +0000
commit757daf2667d1ec00a67477597795cb8a3497fce1 (patch)
tree9f18a9740be39aea72a42d03f69c98700dbe8e0c /src/sp-path.cpp
parentWarning cleanup (diff)
downloadinkscape-757daf2667d1ec00a67477597795cb8a3497fce1.tar.gz
inkscape-757daf2667d1ec00a67477597795cb8a3497fce1.zip
Fix LPE for groups bounding box calculation by using the SPItem->getBounds method.
Some preliminary work for LPE stacking. (bzr r5683)
Diffstat (limited to '')
-rw-r--r--src/sp-path.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index 14f04218f..20515c4cd 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -416,8 +416,9 @@ sp_path_update_patheffect(SPLPEItem *lpeitem, bool write)
SPPath *path = (SPPath *) lpeitem;
if (path->original_curve) {
SPCurve *curve = path->original_curve->copy();
+ sp_shape_set_curve_insync(shape, curve, TRUE);
sp_lpe_item_perform_path_effect(SP_LPE_ITEM(shape), curve);
- sp_shape_set_curve(shape, curve, TRUE);
+ SP_OBJECT(shape)->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
curve->unref();
if (write) {