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 /space_view3d_3d_navigation.py | |
parent | bdfca1046394902777ebe075b37597d416d634a9 (diff) |
add in module register calls (first pass, batch replace, will test each addon next).
Diffstat (limited to 'space_view3d_3d_navigation.py')
-rw-r--r-- | space_view3d_3d_navigation.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/space_view3d_3d_navigation.py b/space_view3d_3d_navigation.py index ea8347e5..bc6459ae 100644 --- a/space_view3d_3d_navigation.py +++ b/space_view3d_3d_navigation.py @@ -87,10 +87,14 @@ class VIEW3D_PT_3dnavigationPanel(bpy.types.Panel): row.operator("view3d.snap_cursor_to_selected", text="Cursor to Selected") # register the class -def register(): +def register(): + bpy.utils.register_module(__name__) + pass -def unregister(): +def unregister(): + bpy.utils.unregister_module(__name__) + pass if __name__ == "__main__": |