diff options
author | Ton Roosendaal <ton@blender.org> | 2005-05-20 16:15:50 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-05-20 16:15:50 +0400 |
commit | 83792faa3f6db282b9c0ce3bd965db2058aced32 (patch) | |
tree | e8a1c8c22751b161eeef997ea94dcdcd7a524ec7 /source/blender/blenkernel | |
parent | 32fd7ad4c9747577045aed0660e56cd8dc25a5c2 (diff) |
Two softbody thingies;
- fixed error in option "Enable Goal" which didn't work with Vertex groups
assigned
- renamed some buttons & fixed tooltips. A doc online will be there soon
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/softbody.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c index 7c7bd53b478..a56c42d85f6 100644 --- a/source/blender/blenkernel/intern/softbody.c +++ b/source/blender/blenkernel/intern/softbody.c @@ -862,8 +862,8 @@ static void mesh_to_softbody(Object *ob) they are normalized [0.0..1.0] so may be we need amplitude for scale which can be done by caller but still .. i'd like it to go this way */ - - if(sb->vertgroup) { + + if((ob->softflag & OB_SB_GOAL) && sb->vertgroup) { get_scalar_from_vertexgroup(ob, me->totvert - a, sb->vertgroup-1, &bp->goal); // do this always, regardless successfull read from vertex group bp->goal= sb->mingoal + bp->goal*goalfac; |