diff options
-rw-r--r-- | release/scripts/startup/bl_operators/rigidbody.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/rigidbody.py b/release/scripts/startup/bl_operators/rigidbody.py index bb3a9a6330f..652ad4bf784 100644 --- a/release/scripts/startup/bl_operators/rigidbody.py +++ b/release/scripts/startup/bl_operators/rigidbody.py @@ -120,7 +120,8 @@ class BakeToKeyframes(Operator): if objects: # store transformation data - for f in list(range(self.frame_start, self.frame_end + 1)): + # need to start at scene start frame so simulation is run from the beginning + for f in list(range(scene.frame_start, self.frame_end + 1)): scene.frame_set(f) if f in frames: mat = {} |