From 6ffea18d56c9598aa7068d2e24dec7884cf3d9e2 Mon Sep 17 00:00:00 2001 From: dooglus Date: Thu, 12 Apr 2007 17:50:38 +0000 Subject: [PATCH] Fix 1699325: only add on time for exactly one extra frame git-svn-id: http://svn.voria.com/code@466 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/preview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/preview.cpp b/synfig-studio/trunk/src/gtkmm/preview.cpp index 682ad50..0384398 100644 --- a/synfig-studio/trunk/src/gtkmm/preview.cpp +++ b/synfig-studio/trunk/src/gtkmm/preview.cpp @@ -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); -- 2.7.4