Bug fix in code committed for hooks; mesh check for displist was on

wrong location... causing tremendous slowdowns!

Note: in previous commit some WIP slipped in.. not dangerous. Plus it
has a text typo fix (beaty)
This commit is contained in:
2004-09-16 19:31:43 +00:00
parent e10bae596b
commit a539a727d4

View File

@@ -3911,7 +3911,7 @@ void draw_object(Base *base)
if(ob->disp.first==NULL) {
if(ob->parent && ob->partype==PARSKEL) makeDispList(ob);
else if(ob->hooks.first) makeDispList(ob);
else if(mesh_uses_displist(me)) makeDispList(ob);
else if(me->disp.first==NULL && mesh_uses_displist(me)) makeDispList(ob);
}
}