From: dooglus Date: Mon, 11 Feb 2008 18:51:03 +0000 (+0000) Subject: Fix 1891359: Don't mirror radius ducks. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8073ec5ac33ffc8b5907585f082216c3707e6401;p=synfig.git Fix 1891359: Don't mirror radius ducks. git-svn-id: http://svn.voria.com/code@1672 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/mod_mirror/state_mirror.cpp b/synfig-studio/trunk/src/gtkmm/mod_mirror/state_mirror.cpp index 7b0d1a5..b9688d0 100644 --- a/synfig-studio/trunk/src/gtkmm/mod_mirror/state_mirror.cpp +++ b/synfig-studio/trunk/src/gtkmm/mod_mirror/state_mirror.cpp @@ -285,6 +285,10 @@ DuckDrag_Mirror::duck_drag(Duckmatic* duckmatic, const synfig::Vector& vector) if ((*iter)->get_type() != Duck::TYPE_VERTEX && (*iter)->get_type() != Duck::TYPE_POSITION) { + // we don't need to mirror radius ducks - they're one-dimensional + if ((*iter)->is_radius()) + continue; + Vector p(positions[i]); if (axis==AXIS_X) p[0] = -(p[0]-center[0]) + center[0];