Dupli-group doesn't work yet for metaballs. Code entered an eternal loop,
because the group-duplication code calls again the metaball creation code.

Disabled this. MakeDisplist needs review!
This commit is contained in:
2006-11-03 12:38:21 +00:00
parent 2055818c99
commit b29c28c43b

View File

@@ -383,11 +383,14 @@ int next_object(int val, Base **base, Object **ob)
else {
if(fase!=F_DUPLI) {
if( (*base)->object->transflag & OB_DUPLI) {
duplilist= object_duplilist(G.scene, (*base)->object);
dupob= duplilist->first;
/* groups cannot be duplicated for mballs yet,
this enters eternal loop because of
makeDispListMBall getting called inside of group_duplilist */
if((*base)->object->dup_group == NULL) {
duplilist= object_duplilist(G.scene, (*base)->object);
dupob= duplilist->first;
}
}
}
/* handle dupli's */