From 90df59630eaf886977e8aea2691cae7d365d9fe4 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 2 Apr 2005 19:52:32 +0000 Subject: More softbody goodness; - Added Softbody effect for Lattices (not too useful yet without vertexgroups though) - Added default vertex "goal" value + button, to be assigned when no vertexgroup exists (or vertex isn't in the group) - Made softmin and softmax work as documented (defining min and max range) - made changes in buttons send 'update' signal to softbody And: - added Nkey Properties to show lattice coordinates --- source/blender/blenloader/intern/readfile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenloader/intern') diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index d10d970e0d4..b2fce9edfe6 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -4677,6 +4677,7 @@ 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; } -- cgit v1.2.3