forked from bartvdbraak/blender
* 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:
parent
d348027499
commit
5463fe20b9
@ -130,6 +130,7 @@ void rename_timeline_marker(void)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static int find_nearest_marker(float dx)
|
||||
{
|
||||
TimeMarker *marker, *nearest= NULL;
|
||||
@ -531,8 +532,6 @@ void winqreadtimespace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
|
||||
cfra= find_nearest_marker(dx);
|
||||
|
||||
if(cfra < MINFRAME) cfra= MINFRAME;
|
||||
|
||||
if (G.qual && LR_SHIFTKEY)
|
||||
select_timeline_marker_frame(cfra, 1);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user