Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-02-11 04:29:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-11 04:29:13 +0300
commit61d5b389e2424ff22576cc07b99260f952f6f97b (patch)
tree70707fe8017ba115d22ad723451ec9183cc0d242 /space_view3d_3d_navigation.py
parentbdfca1046394902777ebe075b37597d416d634a9 (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.py8
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__":