diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-05 19:58:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-05 19:58:52 +0400 |
commit | ebfb6490e11ae9ae0429737c1bf0e0cd64222f5a (patch) | |
tree | d6b7ff4e93a37043d83ceb5dbabfdf8bc2bab117 /mesh_surface_sketch.py | |
parent | 8d94603a8de70935166a933d2fb0f9af369d567f (diff) |
update for changes in blender.
Diffstat (limited to 'mesh_surface_sketch.py')
-rw-r--r-- | mesh_surface_sketch.py | 3 |
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): |