diff options
author | Martin Felke <martin.felke@googlemail.com> | 2017-08-05 21:05:36 +0300 |
---|---|---|
committer | Martin Felke <martin.felke@googlemail.com> | 2017-08-05 21:05:36 +0300 |
commit | be6e39da2971dfdf0ca257b129b67faf87937d88 (patch) | |
tree | 72fa69509403bb3fdf0c51ede1379369e168fcc8 /source/blender/editors/object | |
parent | 91f02a80f545800cd514706506069f846fbc9348 (diff) |
minor fix: forgot to update frame in display when converting to keyframes
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_modifier.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index 86172c26b7d..0fbc37b0ac0 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -3507,6 +3507,7 @@ static int rigidbody_convert_keyframes_exec(bContext *C, wmOperator *op) { for (frame = start; frame < end; frame++) { + BKE_scene_frame_set(scene, (float)frame); BKE_rigidbody_do_simulation(scene, (float)frame); BKE_object_where_is_calc_time(scene, selob, (float)frame); } |