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 /io_convert_image_to_mesh_img/__init__.py
parentbdfca1046394902777ebe075b37597d416d634a9 (diff)
add in module register calls (first pass, batch replace, will test each addon next).
Diffstat (limited to 'io_convert_image_to_mesh_img/__init__.py')
-rw-r--r--io_convert_image_to_mesh_img/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/io_convert_image_to_mesh_img/__init__.py b/io_convert_image_to_mesh_img/__init__.py
index f6e5f522..290e97e9 100644
--- a/io_convert_image_to_mesh_img/__init__.py
+++ b/io_convert_image_to_mesh_img/__init__.py
@@ -119,9 +119,13 @@ def menu_import(self, context):
self.layout.operator(ImportHiRISEIMGDTM.bl_idname, text="HiRISE DTM from PDS IMG (*.IMG)")
def register():
+ bpy.utils.register_module(__name__)
+
bpy.types.INFO_MT_file_import.append(menu_import)
def unregister():
+ bpy.utils.unregister_module(__name__)
+
bpy.types.INFO_MT_file_import.remove(menu_import)
if __name__ == "__main__":