diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-09 18:08:06 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-09 18:08:06 +0400 |
commit | 8198880d44ca3a7af4f3bbd16097beceb30ec029 (patch) | |
tree | 593a1fc06bbbf21c1ef518d8ed3b3ad1fe43c727 /source/blender/makesdna/DNA_object_force.h | |
parent | ec58ff19adfc8c117a289139f3060a52277aaf47 (diff) |
Fix #29793: Physics go crazy if frames get skipped
Calculate cloth and softbody only for single frame time deltas
(like it's already done for smoke)
Diffstat (limited to 'source/blender/makesdna/DNA_object_force.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_force.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_force.h b/source/blender/makesdna/DNA_object_force.h index 5875ff30bcc..cb72e396356 100644 --- a/source/blender/makesdna/DNA_object_force.h +++ b/source/blender/makesdna/DNA_object_force.h @@ -337,8 +337,8 @@ typedef struct SoftBody { float lcom[3]; float lrot[3][3]; float lscale[3][3]; - char pad4[4]; + int last_frame; } SoftBody; |