diff options
-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)) |