diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 3bfe1ea3afc..70b945fd54b 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -8459,7 +8459,7 @@ EditorNode::EditorNode() { file_menu->add_separator(); export_as_menu = memnew(PopupMenu); - file_menu->add_submenu_node_item(TTRC("Export As..."), export_as_menu); + file_menu->add_submenu_node_item(TTRC("Export As..."), export_as_menu, SCENE_EXPORT_AS); export_as_menu->add_shortcut(ED_SHORTCUT("editor/export_as_mesh_library", TTRC("MeshLibrary...")), FILE_EXPORT_MESH_LIBRARY); export_as_menu->connect("index_pressed", callable_mp(this, &EditorNode::_export_as_menu_option)); diff --git a/editor/editor_node.h b/editor/editor_node.h index 579951e6125..0f053e50031 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -153,6 +153,7 @@ public: SCENE_QUICK_OPEN, SCENE_QUICK_OPEN_SCENE, SCENE_QUICK_OPEN_SCRIPT, + SCENE_EXPORT_AS, SCENE_UNDO, SCENE_REDO, SCENE_RELOAD_SAVED_SCENE,