From: <ge...@us...> - 2009-03-18 20:58:47
|
Revision: 2354 http://synfig.svn.sourceforge.net/synfig/?rev=2354&view=rev Author: genete Date: 2009-03-18 20:58:38 +0000 (Wed, 18 Mar 2009) Log Message: ----------- Don't push back any onion skin queue unless onionskin boolean is set to true. Modified Paths: -------------- synfig-studio/trunk/src/gtkmm/workarea.cpp Modified: synfig-studio/trunk/src/gtkmm/workarea.cpp =================================================================== --- synfig-studio/trunk/src/gtkmm/workarea.cpp 2009-03-17 22:16:02 UTC (rev 2353) +++ synfig-studio/trunk/src/gtkmm/workarea.cpp 2009-03-18 20:58:38 UTC (rev 2354) @@ -123,10 +123,11 @@ 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 @@ 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( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |