Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJens Ole Wund <bjornmose@gmx.net>2007-06-01 13:20:46 +0400
committerJens Ole Wund <bjornmose@gmx.net>2007-06-01 13:20:46 +0400
commit16f49532300630e3015a28c7f4b6874cb61ddb8c (patch)
tree4a9db107f113458c51fd5e0e2282ce75dd2d4e14 /source
parentf0fe6833dbdf3742d0036a2ca545e91ba7cc5727 (diff)
surface objects are allowed to be softbodies too
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/buttons_object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c
index ed9b2043924..bb5ac2ba682 100644
--- a/source/blender/src/buttons_object.c
+++ b/source/blender/src/buttons_object.c
@@ -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;