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 /mesh_surface_sketch.py
parent8d94603a8de70935166a933d2fb0f9af369d567f (diff)
update for changes in blender.
Diffstat (limited to 'mesh_surface_sketch.py')
-rw-r--r--mesh_surface_sketch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesh_surface_sketch.py b/mesh_surface_sketch.py
index 5f0035f2..2b0c7490 100644
--- a/mesh_surface_sketch.py
+++ b/mesh_surface_sketch.py
@@ -42,7 +42,8 @@ class VIEW3D_PT_tools_SURF_SKETCH(bpy.types.Panel):
bl_context = "mesh_edit"
bl_label = "Surface Sketching"
- def poll(self, context):
+ @staticmethod
+ def poll(context):
return context.active_object
def draw(self, context):