From 61d5b389e2424ff22576cc07b99260f952f6f97b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 11 Feb 2011 01:29:13 +0000 Subject: add in module register calls (first pass, batch replace, will test each addon next). --- mesh_surface_sketch.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mesh_surface_sketch.py') diff --git a/mesh_surface_sketch.py b/mesh_surface_sketch.py index df6f9f7f..cddf616b 100644 --- a/mesh_surface_sketch.py +++ b/mesh_surface_sketch.py @@ -787,6 +787,8 @@ class GPENCIL_OT_surfsk_strokes_to_curves(bpy.types.Operator): def register(): + bpy.utils.register_module(__name__) + bpy.types.Scene.SURFSK_edges_U = bpy.props.IntProperty(name="Cross", description="Number of edge rings crossing the strokes (perpendicular to strokes direction)", default=10, min=0, max=100000) bpy.types.Scene.SURFSK_edges_V = bpy.props.IntProperty(name="Follow", description="Number of edge rings following the strokes (parallel to strokes direction)", default=10, min=0, max=100000) bpy.types.Scene.SURFSK_precision = bpy.props.IntProperty(name="Precision", description="Precision level of the surface calculation", default=4, min=0, max=100000) @@ -801,6 +803,8 @@ def register(): def unregister(): + bpy.utils.unregister_module(__name__) + del bpy.types.Scene.SURFSK_edges_U del bpy.types.Scene.SURFSK_edges_V del bpy.types.Scene.SURFSK_precision -- cgit v1.2.3