From: dooglus Date: Thu, 12 Apr 2007 17:50:38 +0000 (+0000) Subject: Fix 1699325: only add on time for exactly one extra frame X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6ffea18d56c9598aa7068d2e24dec7884cf3d9e2;p=synfig.git 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 --- 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);