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.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to