diff options
Diffstat (limited to 'rigify')
-rw-r--r-- | rigify/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rigify/ui.py b/rigify/ui.py index 35d3bb6c..c2e1e6c6 100644 --- a/rigify/ui.py +++ b/rigify/ui.py @@ -203,7 +203,7 @@ class VIEW3D_PT_tools_rigify_dev(bpy.types.Panel): @classmethod def poll(cls, context): - return obj.mode == 'EDIT_ARMATURE' + return (context.mode == 'EDIT_ARMATURE') def draw(self, context): r = self.layout.row() |