Skip to content

Commit 6ff5fde

Browse files
committed
fix: Encode Widget btn not showing in Tools
1 parent 2b3c1ec commit 6ff5fde

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,10 +627,13 @@ def draw(self, context):
627627
class VIEW3D_PT_tools_rigify_dev(bpy.types.Panel):
628628
bl_label = "Rigify Dev Tools"
629629
bl_category = 'Tools'
630-
bl_context = "armature_edit"
631630
bl_space_type = 'VIEW_3D'
632631
bl_region_type = 'TOOLS'
633632

633+
@classmethod
634+
def poll(cls, context):
635+
return context.mode in ['EDIT_ARMATURE', 'EDIT_MESH']
636+
634637
def draw(self, context):
635638
obj = context.active_object
636639
if obj is not None:

0 commit comments

Comments
 (0)