removing self collision for curves

just did a few tests, with the 'surprising' result that balls are not curves ..
and i don't want to be swamped by bug reports tellling me
'it does not collide as i whised it would'
This commit is contained in:
2006-10-05 21:30:55 +00:00
parent f2d27eb4cb
commit aaaae78527
2 changed files with 1 additions and 2 deletions

View File

@@ -2320,7 +2320,7 @@ static void object_softbodies(Object *ob)
else {
if(ob->softflag & OB_SB_COLLISIONSET) {
/* SELF COLLISION STUFF */
if ((ob->type==OB_MESH)||(ob->type==OB_CURVE)) {
if ((ob->type==OB_MESH) /*may be other types will come*/) {
uiDefButBitS(block, TOG, OB_SB_SELF, B_SOFTBODY_CHANGE, "Self Collision", 10,170,90,20, &ob->softflag, 0, 0, 0, 0, "enable naive vertex ball self collision");
uiDefButF(block, NUM, B_SOFTBODY_CHANGE, "Ball Size:", 110,170,170,20, &sb->colball, -10.0, 10.0, 10, 0, "col. ball size ==0 average spring lenght, >0 set collision ball manual, -1.0 max, -0.1 min ,-1.1 (min+max)/2");
}