X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcellrenderer_timetrack.cpp;h=83824657c43f5af3c0699a4c2b5fc5ad0bcda6cb;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=8e9ea8231b191280b076dc52f15bf244ee930f27;hpb=027a2dc1cf3e9d126fa69e1af829db0a0ead6b3a;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp index 8e9ea82..8382465 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) @@ -765,11 +766,7 @@ CellRenderer_TimeTrack::activate_vfunc( } if(clickfound && node) - signal_waypoint_clicked_cellrenderer()(node, - stime, - time_offset, - 2, - actual_time+time_offset::cast_static(canvas_interface()->get_instance()) - ->process_action("timepoint_copy", param_list); + ->process_action("TimepointsCopy", param_list); }else if(delmode) //DELETE { etl::handle::cast_static(canvas_interface()->get_instance()) - ->process_action("timepoint_delete", param_list); + ->process_action("TimepointsDelete", param_list); }else //MOVE { etl::handle::cast_static(canvas_interface()->get_instance()) - ->process_action("timepoint_move", param_list); + ->process_action("TimepointsMove", param_list); } //now replace all the selected with the new selected