From 757daf2667d1ec00a67477597795cb8a3497fce1 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 17 May 2008 10:47:58 +0000 Subject: Fix LPE for groups bounding box calculation by using the SPItem->getBounds method. Some preliminary work for LPE stacking. (bzr r5683) --- src/sp-path.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sp-path.cpp') 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) { -- cgit v1.2.3