diff options
-rw-r--r-- | source/blender/editors/space_graph/graph_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index 9f9869a854c..8bfafc6bef8 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -2447,7 +2447,7 @@ static void mirror_graph_keys(bAnimContext *ac, short mode) float unit_scale = ANIM_unit_mapping_get_factor( ac->scene, ale->id, ale->key_data, mapping_flag | ANIM_UNITCONV_ONLYKEYS, &offset); - ked.f1 = (cursor_value + offset) * unit_scale; + ked.f1 = (cursor_value - offset) / unit_scale; } /* Perform actual mirroring. */ |