surface objects are allowed to be softbodies too

This commit is contained in:
2007-06-01 09:20:46 +00:00
parent f0fe6833db
commit 16f4953230

View 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;