Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-01-09 18:08:06 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-01-09 18:08:06 +0400
commit8198880d44ca3a7af4f3bbd16097beceb30ec029 (patch)
tree593a1fc06bbbf21c1ef518d8ed3b3ad1fe43c727 /source/blender/blenkernel/BKE_cloth.h
parentec58ff19adfc8c117a289139f3060a52277aaf47 (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.h1
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;
/**