bug fix #18982
authorJens Ole Wund <bjornmose@gmx.net>
Fri, 21 Aug 2009 12:49:21 +0000 (12:49 +0000)
committerJens Ole Wund <bjornmose@gmx.net>
Fri, 21 Aug 2009 12:49:21 +0000 (12:49 +0000)
non mesh objects missing initializers

source/blender/blenkernel/intern/softbody.c

index 25eb999cc4f76be0eb0591eafd7f8e00ae504ebb..01fa3b544fffc1ba4c4f8280e8b1f61182faa31e 100644 (file)
@@ -867,7 +867,8 @@ static void renew_softbody(Object *ob, int totpoint, int totspring)
                        bp->frozen = 1.0f;
                        bp->colball = 0.0f;
                        bp->flag = 0;
-
+                       bp->springweight = 1.0f;
+                       bp->mass = sb->nodemass;
                }
        }
 }