Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/rigify
diff options
context:
space:
mode:
Diffstat (limited to 'rigify')
-rw-r--r--rigify/ui.py2
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()