From a0306607ec66a57fe2537e921a6772eaab606d2c Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 19 Feb 2008 18:53:11 +0000 Subject: [PATCH] Made the rotation counter quieter still - it only starts reporting the rotation count once it reaches 1 (or -1), so it's possible to draw a regular bline without seeing output. git-svn-id: http://svn.voria.com/code@1771 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/duck.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/gtkmm/duck.cpp b/synfig-studio/trunk/src/gtkmm/duck.cpp index aa1a350..d682025 100644 --- a/synfig-studio/trunk/src/gtkmm/duck.cpp +++ b/synfig-studio/trunk/src/gtkmm/duck.cpp @@ -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 -- 2.7.4