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 /add_curve_torus_knots.py | |
parent | bdfca1046394902777ebe075b37597d416d634a9 (diff) |
add in module register calls (first pass, batch replace, will test each addon next).
Diffstat (limited to 'add_curve_torus_knots.py')
-rw-r--r-- | add_curve_torus_knots.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py index 53c0afed..95eace80 100644 --- a/add_curve_torus_knots.py +++ b/add_curve_torus_knots.py @@ -234,9 +234,13 @@ def torus_knot_plus_button(self, context): def register(): + bpy.utils.register_module(__name__) + bpy.types.INFO_MT_curve_add.append(torus_knot_plus_button) def unregister(): + bpy.utils.unregister_module(__name__) + bpy.types.INFO_MT_curve_add.remove(torus_knot_plus_button) if __name__ == "__main__": |