diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-17 08:06:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-17 08:06:40 +0400 |
commit | 870f1e9a3c027a8a2258f8e3e8577f813434548c (patch) | |
tree | 4a698da941694874ac6f4f0bac680e57d9420314 | |
parent | af733e2d02e1c32a73559c4063bb01db0867dc2a (diff) |
correct error in rigify, fix from Irie Shinsuke.
-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() |