From c937811a99664efe5249d9188616d51c04f0ff1b Mon Sep 17 00:00:00 2001 From: dooglus Date: Sun, 9 Mar 2008 12:55:59 +0000 Subject: [PATCH] Don't render waypoints that lie outside the bounds of the timetrack's adjustment. git-svn-id: http://svn.voria.com/code@1904 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp index e2ad77a..00fafd9 100644 --- a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp +++ b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp @@ -313,6 +313,7 @@ CellRenderer_TimeTrack::render_vfunc( Time t_orig = i->get_time(); if(!t_orig.is_valid()) continue; Time t = t_orig - time_offset; + if(tget_lower() || t>adjustment->get_upper()) continue; //if it found it... (might want to change comparison, and optimize // sel_times.find to not produce an overall nlogn solution) -- 2.7.4