[Bf-extensions-cvs] [19337ef7] blender-v3.1-release: OBJ: reintroduce export menu item for the old (pre-3.1) python exporter
Aras Pranckevicius
noreply at git.blender.org
Thu Mar 31 14:41:20 CEST 2022
Commit: 19337ef729b1dea60c075fb85db69d5cc8c60f07
Author: Aras Pranckevicius
Date: Thu Mar 31 15:40:43 2022 +0300
Branches: blender-v3.1-release
https://developer.blender.org/rBA19337ef729b1dea60c075fb85db69d5cc8c60f07
OBJ: reintroduce export menu item for the old (pre-3.1) python exporter
While it still has known issues/bugs/limitations. Also related: D14512.
Differential: D14513
===================================================================
M io_scene_obj/__init__.py
===================================================================
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)
More information about the Bf-extensions-cvs
mailing list