* fixed a problem where you couldn't select a timeline

marker on a frame < 0. Weirdly enough, it seemed to be
deliberate, with the line:
if(cfra < MINFRAME) cfra= MINFRAME; )

I removed this, but if whoever wrote it has a good
reason why it should be there, please let me know!
This commit is contained in:
Matt Ebb 2005-10-26 13:43:55 +00:00
parent d348027499
commit 5463fe20b9

@ -130,6 +130,7 @@ void rename_timeline_marker(void)
} }
} }
static int find_nearest_marker(float dx) static int find_nearest_marker(float dx)
{ {
TimeMarker *marker, *nearest= NULL; TimeMarker *marker, *nearest= NULL;
@ -531,8 +532,6 @@ void winqreadtimespace(ScrArea *sa, void *spacedata, BWinEvent *evt)
cfra= find_nearest_marker(dx); cfra= find_nearest_marker(dx);
if(cfra < MINFRAME) cfra= MINFRAME;
if (G.qual && LR_SHIFTKEY) if (G.qual && LR_SHIFTKEY)
select_timeline_marker_frame(cfra, 1); select_timeline_marker_frame(cfra, 1);
else else