diff options
Diffstat (limited to 'rigify')
-rw-r--r-- | rigify/ui.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rigify/ui.py b/rigify/ui.py index e95e4774..0e34ba42 100644 --- a/rigify/ui.py +++ b/rigify/ui.py @@ -202,6 +202,10 @@ class VIEW3D_PT_tools_rigify_dev(bpy.types.Panel): bl_space_type = 'VIEW_3D' bl_region_type = 'TOOLS' + @classmethod + def poll(cls, context): + return context.mode == 'EDIT_ARMATURE' or context.mode == 'EDIT_MESH' + def draw(self, context): obj = context.active_object if obj != None: |