From 1d8a47082e8cc0b3fab7d77862c73cb5f3f41aef Mon Sep 17 00:00:00 2001 From: genete Date: Wed, 18 Mar 2009 20:58:38 +0000 Subject: [PATCH] Don't push back any onion skin queue unless onionskin boolean is set to true. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2354 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/workarea.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/workarea.cpp b/synfig-studio/trunk/src/gtkmm/workarea.cpp index 9038bb1..0ebd729 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.cpp +++ b/synfig-studio/trunk/src/gtkmm/workarea.cpp @@ -123,10 +123,11 @@ public: Time time(rend_desc().get_time_start()); + if(!onionskin) + return; onion_skin_queue.push_back(time); //onion_skin_queue.push_back(time-1); //onion_skin_queue.push_back(time+1); - try { onion_skin_queue.push_back( @@ -419,12 +420,11 @@ public: Time time(rend_desc().get_time_start()); + if(!onionskin) + return; onion_skin_queue.push_back(time); //onion_skin_queue.push_back(time-1); //onion_skin_queue.push_back(time+1); - if(!onionskin) - return; - try { onion_skin_queue.push_back( -- 2.7.4