diff options
Diffstat (limited to 'src/live_effects/lpe-bendpath.cpp')
| -rw-r--r-- | src/live_effects/lpe-bendpath.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/live_effects/lpe-bendpath.cpp b/src/live_effects/lpe-bendpath.cpp index 314ddc84c..11694249a 100644 --- a/src/live_effects/lpe-bendpath.cpp +++ b/src/live_effects/lpe-bendpath.cpp @@ -86,9 +86,8 @@ void LPEBendPath::doBeforeEffect (SPLPEItem const* lpeitem) { // get the item bounding box - original_bbox(lpeitem); + original_bbox(lpeitem, false, true); original_height = boundingbox_Y.max() - boundingbox_Y.min(); - SPDesktop *desktop = SP_ACTIVE_DESKTOP; if (_knot_entity) { if (hide_knot) { helper_path.clear(); @@ -152,8 +151,7 @@ void LPEBendPath::resetDefaults(SPItem const* item) { Effect::resetDefaults(item); - - original_bbox(SP_LPE_ITEM(item)); + original_bbox(SP_LPE_ITEM(item), false, true); Geom::Point start(boundingbox_X.min(), (boundingbox_Y.max()+boundingbox_Y.min())/2); Geom::Point end(boundingbox_X.max(), (boundingbox_Y.max()+boundingbox_Y.min())/2); @@ -171,9 +169,7 @@ LPEBendPath::resetDefaults(SPItem const* item) void LPEBendPath::transform_multiply(Geom::Affine const& postmul, bool set) { - if (sp_lpe_item) { - sp_lpe_item_update_patheffect(sp_lpe_item, false, false); - } + //block parameters be transformed because shapes with bend store transform in the element } void |
