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:
authorSergej Reich <sergej.reich@googlemail.com>2013-07-22 19:35:29 +0400
committerSergej Reich <sergej.reich@googlemail.com>2013-07-22 19:35:29 +0400
commitbe7004237c2143ddf1811c2e4ba20e6f2eb1c7f8 (patch)
tree66a0a70e4c4c59abf3479747a1db37cbcc477864 /source/blender/blenkernel/intern/cloth.c
parent57ce6d1470907b283742f45d369b4fe6edcee361 (diff)
cloth: Fix [#36224] Cloth Simulation Doesn't Work on Rearranging Modifiers
Don't return imediately when simulation has changed. It's not needed and prevented proper initialization on startframe when simulation changed.
Diffstat (limited to 'source/blender/blenkernel/intern/cloth.c')
-rw-r--r--source/blender/blenkernel/intern/cloth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/cloth.c b/source/blender/blenkernel/intern/cloth.c
index a7311d5efc7..05ffd4a6265 100644
--- a/source/blender/blenkernel/intern/cloth.c
+++ b/source/blender/blenkernel/intern/cloth.c
@@ -476,7 +476,6 @@ void clothModifier_do(ClothModifierData *clmd, Scene *scene, Object *ob, Derived
BKE_ptcache_validate(cache, 0);
cache->last_exact= 0;
cache->flag &= ~PTCACHE_REDO_NEEDED;
- return;
}
// unused in the moment, calculated separately in implicit.c