diff options
author | Ton Roosendaal <ton@blender.org> | 2005-04-20 20:55:04 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-04-20 20:55:04 +0400 |
commit | be3eec301441cc5653e15fda35870ca6eb478229 (patch) | |
tree | bef4aa01f9164b32a6bfbacedca50c8a2f92b0df /source/blender/blenloader/intern | |
parent | 3dbae624d372accad4a7246ae6a8ad002634a03e (diff) |
Softbody: added "time" button, to control speed for wriggling. Low values
make it slower, higher values faster.
Monkey: accidentally got inverted normals for they eye again. :)
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index f2db3d25621..38b88d0ccf4 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -4223,8 +4223,6 @@ static void do_versions(Main *main) ma->param[1]= 0.1; ma->param[2]= 0.1; ma->param[3]= 0.05; - ma->rms=0.1; - ma->darkness=1.0; } // patch for old wrong max view2d settings, allows zooming out more for (sc= main->screen.first; sc; sc= sc->id.next) { @@ -4687,10 +4685,12 @@ static void do_versions(Main *main) sb->maxgoal= ob->sb_maxgoal; sb->mediafrict= ob->sb_mediafrict; sb->rklimit= ob->softtime; - sb->defgoal= 0.7; - ob->softflag |= OB_SB_GOAL|OB_SB_EDGES; } + if(ob->soft) { + if(ob->soft->defgoal==0.0) ob->soft->defgoal= 0.7; + if(ob->soft->physics_speed==0.0) ob->soft->physics_speed= 1.0; + } if(ob->soft && ob->soft->vertgroup==0) { bDeformGroup *locGroup = get_named_vertexgroup(ob, "SOFTGOAL"); if(locGroup){ |