diff options
| author | Bastien Bouclet <bastien.bouclet@gmail.com> | 2008-05-17 10:47:58 +0000 |
|---|---|---|
| committer | bgk <bgk@users.sourceforge.net> | 2008-05-17 10:47:58 +0000 |
| commit | 757daf2667d1ec00a67477597795cb8a3497fce1 (patch) | |
| tree | 9f18a9740be39aea72a42d03f69c98700dbe8e0c /src/sp-path.cpp | |
| parent | Warning cleanup (diff) | |
| download | inkscape-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.cpp | 3 |
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) { |
