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:
authorAras Pranckevicius <aras@nesnausk.org>2022-03-31 15:40:43 +0300
committerAras Pranckevicius <aras@nesnausk.org>2022-03-31 15:40:43 +0300
commit19337ef729b1dea60c075fb85db69d5cc8c60f07 (patch)
tree314fd2716f3e2157ed4b8d267e62c49af120d47a
parente98a2bf101ab14ade9340730bed2a2de8f99682d (diff)
OBJ: reintroduce export menu item for the old (pre-3.1) python exporterv3.1.2blender-v3.1-release
While it still has known issues/bugs/limitations. Also related: D14512. Differential: D14513
-rw-r--r--io_scene_obj/__init__.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/io_scene_obj/__init__.py b/io_scene_obj/__init__.py
index c5335f3d..78c2314e 100644
--- a/io_scene_obj/__init__.py
+++ b/io_scene_obj/__init__.py
@@ -501,16 +501,12 @@ def register():
bpy.utils.register_class(cls)
bpy.types.TOPBAR_MT_file_import.append(menu_func_import)
- # Disabling the menu entry for this python exporter now that
- # there is a C++ exporter. For now, leaving the actual
- # export_scene.obj pointing at the python version.
- # bpy.types.TOPBAR_MT_file_export.append(menu_func_export)
+ bpy.types.TOPBAR_MT_file_export.append(menu_func_export)
def unregister():
bpy.types.TOPBAR_MT_file_import.remove(menu_func_import)
- # See comment above about menu for the python exporter
- # bpy.types.TOPBAR_MT_file_export.remove(menu_func_export)
+ bpy.types.TOPBAR_MT_file_export.remove(menu_func_export)
for cls in classes:
bpy.utils.unregister_class(cls)