Check that deformer is an armature defore updating the displists

of it's children (gives speed up for alt-A, animation rendering).
This commit is contained in:
Chris Want 2004-05-02 22:03:22 +00:00
parent 5a4e574b81
commit 45a240260e

@ -1193,6 +1193,7 @@ void make_displists_by_armature (Object *ob)
Base *base;
if (ob){
if (ob->type != OB_ARMATURE) return;
for (base= G.scene->base.first; base; base= base->next){
if ((ob==base->object->parent) && (base->lay & G.scene->lay))
if ((base->object->partype==PARSKEL) || (base->object->type==OB_MBALL))