diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 04:29:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 04:29:13 +0300 |
commit | 61d5b389e2424ff22576cc07b99260f952f6f97b (patch) | |
tree | 70707fe8017ba115d22ad723451ec9183cc0d242 /mesh_surface_sketch.py | |
parent | bdfca1046394902777ebe075b37597d416d634a9 (diff) |
add in module register calls (first pass, batch replace, will test each addon next).
Diffstat (limited to 'mesh_surface_sketch.py')
-rw-r--r-- | mesh_surface_sketch.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |