Fix 1699325: only add on time for exactly one extra frame
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 12 Apr 2007 17:50:38 +0000 (17:50 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 12 Apr 2007 17:50:38 +0000 (17:50 +0000)
git-svn-id: http://svn.voria.com/code@466 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 682ad50..0384398 100644 (file)
@@ -214,8 +214,8 @@ void studio::Preview::render()
 
                //setting the description
 
-               //HACK - BECAUSE THE RENDERER CAN'T RENDER INCLUDING THE LAST FRAME
-               desc.set_time_end(desc.get_time_end() + 1.3/fps);
+               //HACK - add on one extra frame because the renderer can't render the last frame
+               desc.set_time_end(desc.get_time_end() + 1.000001/fps);
 
                target->set_rend_desc(&desc);