From: dooglus Date: Tue, 10 Apr 2007 15:23:05 +0000 (+0000) Subject: Fix 1697753: compare times with times, not with frame counts X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d540687044b863e7d509e6a6b118a09090e5f203;p=synfig.git Fix 1697753: compare times with times, not with frame counts git-svn-id: http://svn.voria.com/code@452 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp b/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp index 9b1f6a9..2b92275 100644 --- a/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp +++ b/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp @@ -821,10 +821,10 @@ CanvasInterface::seek_frame(int frames) Time newtime(get_time()+(float)frames/fps); newtime=newtime.round(fps); - if(newtime<=get_canvas()->rend_desc().get_frame_start()) - newtime=get_canvas()->rend_desc().get_frame_start(); - if(newtime>=get_canvas()->rend_desc().get_frame_end()) - newtime=get_canvas()->rend_desc().get_frame_end(); + if(newtime<=get_canvas()->rend_desc().get_time_start()) + newtime=get_canvas()->rend_desc().get_time_start(); + if(newtime>=get_canvas()->rend_desc().get_time_end()) + newtime=get_canvas()->rend_desc().get_time_end(); set_time(newtime); }