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:
Diffstat (limited to 'io_scene_ms3d/__init__.py')
-rw-r--r--io_scene_ms3d/__init__.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/io_scene_ms3d/__init__.py b/io_scene_ms3d/__init__.py
index 794aae6b..805b1d83 100644
--- a/io_scene_ms3d/__init__.py
+++ b/io_scene_ms3d/__init__.py
@@ -64,8 +64,8 @@ from bpy.utils import (
unregister_module,
)
from bpy.types import (
- INFO_MT_file_export,
- INFO_MT_file_import,
+ TOPBAR_MT_file_export,
+ TOPBAR_MT_file_import,
)
@@ -82,16 +82,16 @@ def register():
ms3d_ui.register()
register_module(__name__)
- INFO_MT_file_export.append(Ms3dExportOperator.menu_func)
- INFO_MT_file_import.append(Ms3dImportOperator.menu_func)
+ TOPBAR_MT_file_export.append(Ms3dExportOperator.menu_func)
+ TOPBAR_MT_file_import.append(Ms3dImportOperator.menu_func)
def unregister():
ms3d_ui.unregister()
unregister_module(__name__)
- INFO_MT_file_export.remove(Ms3dExportOperator.menu_func)
- INFO_MT_file_import.remove(Ms3dImportOperator.menu_func)
+ TOPBAR_MT_file_export.remove(Ms3dExportOperator.menu_func)
+ TOPBAR_MT_file_import.remove(Ms3dImportOperator.menu_func)
###############################################################################