Made the rotation counter quieter still - it only starts reporting the rotation count...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 19 Feb 2008 18:53:11 +0000 (18:53 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 19 Feb 2008 18:53:11 +0000 (18:53 +0000)
git-svn-id: http://svn.voria.com/code@1771 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/duck.cpp

index aa1a350..d682025 100644 (file)
@@ -208,7 +208,9 @@ Duck::set_sub_trans_point(const synfig::Point &x)
                int old_halves = round_to_int(Angle::deg(rotations).get()/180);
                rotations += change;
                int new_halves = round_to_int(Angle::deg(rotations).get()/180);
-               if (old_halves != new_halves)
+               if (old_halves != new_halves &&
+                       (new_halves > 1 || new_halves < -1 ||
+                        old_halves > 1 || old_halves < -1))
                        synfig::info("rotation: %.2f turns", new_halves/2.0);
        }
        else