Skip to content

Commit

Permalink
SVG animateMotion: disable 'rotate' support
Browse files Browse the repository at this point in the history
Yeah... can't used 'rotate' in animateMotion as it forces pivot top-left.

Ref: #173
  • Loading branch information
rodlie committed Aug 28, 2024
1 parent 30e8a10 commit a8fff9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Animators/graphanimator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down

0 comments on commit a8fff9c

Please sign in to comment.