From 870f1e9a3c027a8a2258f8e3e8577f813434548c Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Sun, 17 Feb 2013 04:06:40 +0000 Subject: [PATCH] correct error in rigify, fix from Irie Shinsuke. --- rigify/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rigify/ui.py b/rigify/ui.py index 35d3bb6cf..c2e1e6c6b 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() -- GitLab