diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2009-11-18 16:33:52 +0300 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2009-11-18 16:33:52 +0300 |
commit | 6a357cabbfd7b2d8856f7f39eb9001a475252260 (patch) | |
tree | eb8a72d596a3e8f12f69355f0fbbda7a5d909445 /source/blender/blenloader/intern | |
parent | a62b3a534b055307c2bbd9707a1bcba0dbcbdb21 (diff) |
Durian request: Cloth
* structural can be set to 0
* pre-roll now available through GUI and works like following:
a) Pre rolled frames are NOT cached
b) reset cache + cloth on pre roll setting change
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 2850fe63415..f146d7f6166 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -3781,6 +3781,8 @@ static void direct_link_modifiers(FileData *fd, ListBase *lb) if(clmd->sim_parms) { if(clmd->sim_parms->presets > 10) clmd->sim_parms->presets = 0; + + clmd->sim_parms->reset = 0; } if(clmd->sim_parms->effector_weights) @@ -3863,7 +3865,7 @@ static void direct_link_modifiers(FileData *fd, ListBase *lb) collmd->current_x = NULL; collmd->current_xnew = NULL; collmd->current_v = NULL; - collmd->time = -1; + collmd->time = -1000; collmd->numverts = 0; collmd->bvhtree = NULL; collmd->mfaces = NULL; |