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
diff options
context:
space:
mode:
Diffstat (limited to 'space_view3d_panel_measure.py')
-rw-r--r--space_view3d_panel_measure.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/space_view3d_panel_measure.py b/space_view3d_panel_measure.py
index e7f0612e..f48b4a35 100644
--- a/space_view3d_panel_measure.py
+++ b/space_view3d_panel_measure.py
@@ -656,7 +656,8 @@ class VIEW3D_PT_measure(bpy.types.Panel):
bl_label = "Measure"
bl_default_closed = True
- def poll(self, context):
+ @staticmethod
+ def poll(context):
# Only display this panel in the object and edit mode 3D view.
if (context.area.type == 'VIEW_3D' and
(context.mode == 'EDIT_MESH'