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
This commit is contained in:
parent
e98a2bf101
commit
19337ef729
Notes:
blender-bot
2023-02-13 16:05:00 +01:00
Referenced by issue blender/blender#96241: 3.1: Potential candidates for corrective releases Referenced by issue blender/blender#96241, 3.1: Potential candidates for corrective releases
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue