Skip to content
Snippets Groups Projects
Commit 6b065add authored by Lucio Rossi's avatar Lucio Rossi
Browse files

fix: Encode Widget btn not showing in Tools

parent e6ecb6a1
No related branches found
No related tags found
No related merge requests found
...@@ -627,10 +627,13 @@ class BONE_PT_rigify_buttons(bpy.types.Panel): ...@@ -627,10 +627,13 @@ class BONE_PT_rigify_buttons(bpy.types.Panel):
class VIEW3D_PT_tools_rigify_dev(bpy.types.Panel): class VIEW3D_PT_tools_rigify_dev(bpy.types.Panel):
bl_label = "Rigify Dev Tools" bl_label = "Rigify Dev Tools"
bl_category = 'Tools' bl_category = 'Tools'
bl_context = "armature_edit"
bl_space_type = 'VIEW_3D' bl_space_type = 'VIEW_3D'
bl_region_type = 'TOOLS' bl_region_type = 'TOOLS'
@classmethod
def poll(cls, context):
return context.mode in ['EDIT_ARMATURE', 'EDIT_MESH']
def draw(self, context): def draw(self, context):
obj = context.active_object obj = context.active_object
if obj is not None: if obj is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment