From dec7bb8bfd978b71f8b1b5bb8f83fb331adcb31e Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Cenoz Date: Mon, 6 Jan 2014 22:30:35 +0100 Subject: Fix transforming shapes with path effect applied (bug #1247324) Fixed bugs: - https://launchpad.net/bugs/1247324 (bzr r12884) --- src/sp-spiral.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/sp-spiral.cpp') diff --git a/src/sp-spiral.cpp b/src/sp-spiral.cpp index ffb875f2a..9ef73d56d 100644 --- a/src/sp-spiral.cpp +++ b/src/sp-spiral.cpp @@ -440,6 +440,11 @@ Geom::Affine SPSpiral::set_transform(Geom::Affine const &xform) return xform; } + // Allow live effects + if (hasPathEffect() && pathEffectsEnabled()) { + return xform; + } + /* Calculate spiral start in parent coords. */ Geom::Point pos( Geom::Point(this->cx, this->cy) * xform ); -- cgit v1.2.3