diff options
author | Chris Want <cwant@ualberta.ca> | 2004-05-03 02:03:22 +0400 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2004-05-03 02:03:22 +0400 |
commit | 45a240260e5545a2fe04121f76cb7c10982cf123 (patch) | |
tree | fd524c07c38e9985031c516a525b2262c3c91fed | |
parent | 5a4e574b815b98063cca4d93610b0cc23672ee90 (diff) |
Check that deformer is an armature defore updating the displists
of it's children (gives speed up for alt-A, animation rendering).
-rw-r--r-- | source/blender/blenkernel/intern/armature.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/armature.c b/source/blender/blenkernel/intern/armature.c index e956bd88b2d..ae73d7f5059 100644 --- a/source/blender/blenkernel/intern/armature.c +++ b/source/blender/blenkernel/intern/armature.c @@ -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)) |