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/blenkernel/BKE_cloth.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/blenkernel/BKE_cloth.h')
-rw-r--r-- | source/blender/blenkernel/BKE_cloth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_cloth.h b/source/blender/blenkernel/BKE_cloth.h index 2dfe9fd3402..62c3df7c6f4 100644 --- a/source/blender/blenkernel/BKE_cloth.h +++ b/source/blender/blenkernel/BKE_cloth.h @@ -85,6 +85,7 @@ typedef struct Cloth struct Implicit_Data *implicit; /* our implicit solver connects to this pointer */ struct Implicit_Data *implicitEM; /* our implicit solver connects to this pointer */ struct EdgeHash *edgehash; /* used for selfcollisions */ + int last_frame, pad4; } Cloth; /** |