Don't render waypoints that lie outside the bounds of the timetrack's adjustment.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 9 Mar 2008 12:55:59 +0000 (12:55 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 9 Mar 2008 12:55:59 +0000 (12:55 +0000)
git-svn-id: http://svn.voria.com/code@1904 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index e2ad77a..00fafd9 100644 (file)
@@ -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(t<adjustment->get_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)