forked from bartvdbraak/blender
Simple fix - don't show meta-rig panel for non-armature data
This commit is contained in:
parent
85556a780c
commit
2a47383af5
@ -67,6 +67,8 @@ class DATA_PT_template(bpy.types.Panel):
|
||||
templates = []
|
||||
|
||||
def poll(self, context):
|
||||
if not context.armature:
|
||||
return False
|
||||
obj = context.object
|
||||
if obj:
|
||||
return (obj.mode in ('POSE', 'OBJECT'))
|
||||
|
Loading…
Reference in New Issue
Block a user