From 19337ef729b1dea60c075fb85db69d5cc8c60f07 Mon Sep 17 00:00:00 2001 From: Aras Pranckevicius Date: Thu, 31 Mar 2022 15:40:43 +0300 Subject: 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 --- io_scene_obj/__init__.py | 8 ++------ 1 file 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) -- cgit v1.2.3