Moved the gltf export to the convert scene menu.

This commit is contained in:
Relintai 2022-10-08 22:34:51 +02:00
parent 48d50bed1d
commit 9ee18ce581

View File

@ -59,7 +59,7 @@ SceneExporterGLTFPlugin::SceneExporterGLTFPlugin(EditorNode *p_node) {
file_export_lib->add_filter("*.gltf");
file_export_lib->set_title(TTR("Export Mesh GLTF2"));
String gltf_scene_name = TTR("Export GLTF...");
add_tool_menu_item(gltf_scene_name, this, "convert_scene_to_gltf2", DEFVAL(Variant()));
add_convert_menu_item(gltf_scene_name, this, "convert_scene_to_gltf2", DEFVAL(Variant()));
}
void SceneExporterGLTFPlugin::_gltf2_dialog_action(String p_file) {