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:
authorCampbell Barton <ideasman42@gmail.com>2010-08-05 19:58:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-05 19:58:52 +0400
commitebfb6490e11ae9ae0429737c1bf0e0cd64222f5a (patch)
treed6b7ff4e93a37043d83ceb5dbabfdf8bc2bab117 /space_view3d_panel_measure.py
parent8d94603a8de70935166a933d2fb0f9af369d567f (diff)
update for changes in blender.
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'