surface objects are allowed to be softbodies too
authorJens Ole Wund <bjornmose@gmx.net>
Fri, 1 Jun 2007 09:20:46 +0000 (09:20 +0000)
committerJens Ole Wund <bjornmose@gmx.net>
Fri, 1 Jun 2007 09:20:46 +0000 (09:20 +0000)
source/blender/src/buttons_object.c

index ed9b2043924c292c76631f5ba5d2b419ce708ce7..bb5ac2ba68268f85c353525af7675716326f44cb 100644 (file)
@@ -2468,6 +2468,7 @@ static int _can_softbodies_at_all(Object *ob)
     if ((ob->type==OB_MESH)
                || (ob->type==OB_CURVE)
                || (ob->type==OB_LATTICE)
+               || (ob->type==OB_SURF)
                ) return 1;
        // else deny
        return 0;