diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-10-19 17:39:27 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-10-19 17:39:27 +0400 |
commit | e401fef6b7a3e6d5301a7a4e21e66f3fb53f9982 (patch) | |
tree | 62dd06c78b3ce59ac2e9c2b8c7b768dfe6838c76 /source/blender/editors/animation | |
parent | 4ecfb215e2af8ab824eb634915da2fc8ec54db98 (diff) |
Fix [#37146] Dopesheet / Graph editor, select columns between markers doesn't appear to work.
Init min/max values were just switched...
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_markers.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c index 34246427b7e..8a9f4559140 100644 --- a/source/blender/editors/animation/anim_markers.c +++ b/source/blender/editors/animation/anim_markers.c @@ -211,8 +211,9 @@ void ED_markers_get_minmax(ListBase *markers, short sel, float *first, float *la TimeMarker *fm = markers->first; TimeMarker *lm = markers->last; - min = (float)fm->frame; - max = (float)lm->frame; + /* Store last marker in min, and first marker in max, so that later real value calc actually works! [#37146]. */ + min = (float)lm->frame; + max = (float)fm->frame; } else { *first = 0.0f; |