From a8fff9c660dcec99e23c1250842e3221d578b1da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole-Andr=C3=A9=20Rodlie?= Date: Wed, 28 Aug 2024 16:24:02 +0200 Subject: [PATCH] SVG animateMotion: disable 'rotate' support Yeah... can't used 'rotate' in animateMotion as it forces pivot top-left. Ref: #173 --- src/core/Animators/graphanimator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Animators/graphanimator.cpp b/src/core/Animators/graphanimator.cpp index 7a70e88e4..c735bbc29 100644 --- a/src/core/Animators/graphanimator.cpp +++ b/src/core/Animators/graphanimator.cpp @@ -558,7 +558,7 @@ void GraphAnimator::graph_saveSVG(SvgExporter& exp, anim.setAttribute("attributeName", attrName); if (!type.isEmpty()) { anim.setAttribute("type", type); } } else { - if (motionRotate) { anim.setAttribute("rotate", "auto"); } + //if (motionRotate) { anim.setAttribute("rotate", "auto"); } if (!motionPath.isEmpty()) { auto mpath = exp.createElement("mpath"); mpath.setAttribute("href", QString("#%1").arg(AppSupport::filterId(motionPath)));