Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2005-10-26 17:43:55 +0400
committerMatt Ebb <matt@mke3.net>2005-10-26 17:43:55 +0400
commit5463fe20b9beb0ab14010c60ce11885943a48303 (patch)
tree196e2a019db91898ec24fa797234e07b1447c513 /source/blender/src/edittime.c
parentd348027499dc3abb229cc2fe3e1bf41355d1434b (diff)
* 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!
Diffstat (limited to 'source/blender/src/edittime.c')
-rw-r--r--source/blender/src/edittime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/src/edittime.c b/source/blender/src/edittime.c
index 1cf94f85608..09515611cce 100644
--- a/source/blender/src/edittime.c
+++ b/source/blender/src/edittime.c
@@ -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