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 '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):