diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-09 05:42:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-09 05:42:53 +0400 |
commit | 2384910b60c161971ba37d7a14874580def12ea0 (patch) | |
tree | 33b8174bd04426c6a5b2bed7c2eed12aeb74924c /mesh_surface_sketch.py | |
parent | 6367ee9946c8bc0ee9e91fc97d8303ce38991fc4 (diff) |
update for changes in blender.
Diffstat (limited to 'mesh_surface_sketch.py')
-rw-r--r-- | mesh_surface_sketch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh_surface_sketch.py b/mesh_surface_sketch.py index 2b0c7490..ea741424 100644 --- a/mesh_surface_sketch.py +++ b/mesh_surface_sketch.py @@ -42,8 +42,8 @@ class VIEW3D_PT_tools_SURF_SKETCH(bpy.types.Panel): bl_context = "mesh_edit" bl_label = "Surface Sketching" - @staticmethod - def poll(context): + @classmethod + def poll(cls, context): return context.active_object def draw(self, context): |