diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-12-20 12:46:50 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-12-20 12:46:50 +0400 |
commit | d71bcab0762d2dedf961136d831b6b0ad7dbc43c (patch) | |
tree | c8dfd132cf267952f1832ec49f084bcd833620d3 | |
parent | b2fdc591c36cf5125eaa528b7f735c3c4393d390 (diff) |
Fix for border select doesn't work with normalization enabled
Some lazy developer named Sergey typed zero instead of actual
mapping flag in unit mapping function in the original f-curve
normalization commit.
-rw-r--r-- | source/blender/editors/space_graph/graph_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c index d0dcaf91e77..66054042305 100644 --- a/source/blender/editors/space_graph/graph_select.c +++ b/source/blender/editors/space_graph/graph_select.c @@ -259,7 +259,7 @@ static void borderselect_graphkeys(bAnimContext *ac, rcti rect, short mode, shor for (ale = anim_data.first; ale; ale = ale->next) { AnimData *adt = ANIM_nla_mapping_get(ac, ale); FCurve *fcu = (FCurve *)ale->key_data; - float unit_scale = ANIM_unit_mapping_get_factor(ac->scene, ale->id, fcu, 0); + float unit_scale = ANIM_unit_mapping_get_factor(ac->scene, ale->id, fcu, mapping_flag); /* apply NLA mapping to all the keyframes, since it's easier than trying to * guess when a callback might use something different |