From d045871d73523dd183d7d5f8f23573f9d78ff017 Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Fri, 21 Dec 2018 19:57:33 +0100 Subject: Allow edit LPE on nestad groups --- src/object/sp-ellipse.cpp | 2 +- src/object/sp-path.cpp | 2 +- src/object/sp-spiral.cpp | 2 +- src/object/sp-star.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/object') diff --git a/src/object/sp-ellipse.cpp b/src/object/sp-ellipse.cpp index 70620b888..361c90428 100644 --- a/src/object/sp-ellipse.cpp +++ b/src/object/sp-ellipse.cpp @@ -504,7 +504,7 @@ void SPGenericEllipse::set_shape() Geom::Affine SPGenericEllipse::set_transform(Geom::Affine const &xform) { - if (hasPathEffect() && pathEffectsEnabled()) { + if (hasPathEffectRecursive() && pathEffectsEnabled()) { return xform; } diff --git a/src/object/sp-path.cpp b/src/object/sp-path.cpp index 6456b52c5..0ff31f823 100644 --- a/src/object/sp-path.cpp +++ b/src/object/sp-path.cpp @@ -343,7 +343,7 @@ Geom::Affine SPPath::set_transform(Geom::Affine const &transform) { if (!_curve) { // 0 nodes, nothing to transform return Geom::identity(); } - if (hasPathEffect() && pathEffectsEnabled()) { + if (hasPathEffectRecursive() && pathEffectsEnabled()) { return transform; } diff --git a/src/object/sp-spiral.cpp b/src/object/sp-spiral.cpp index f1e2bbf32..25a637a39 100644 --- a/src/object/sp-spiral.cpp +++ b/src/object/sp-spiral.cpp @@ -409,7 +409,7 @@ void SPSpiral::snappoints(std::vector &p, Inkscape */ Geom::Affine SPSpiral::set_transform(Geom::Affine const &xform) { - if (hasPathEffect() && pathEffectsEnabled()) { + if (hasPathEffectRecursive() && pathEffectsEnabled()) { return xform; } // Only set transform with proportional scaling diff --git a/src/object/sp-star.cpp b/src/object/sp-star.cpp index 898bd4225..59f30b6fa 100644 --- a/src/object/sp-star.cpp +++ b/src/object/sp-star.cpp @@ -491,7 +491,7 @@ void SPStar::snappoints(std::vector &p, Inkscape:: Geom::Affine SPStar::set_transform(Geom::Affine const &xform) { bool opt_trans = (randomized == 0); - if (hasPathEffect() && pathEffectsEnabled()) { + if (hasPathEffectRecursive() && pathEffectsEnabled()) { return xform; } // Only set transform with proportional scaling -- cgit v1.2.3