diff --git a/editor_modules/gltf/editor_scene_exporter_gltf_plugin.cpp b/editor_modules/gltf/editor_scene_exporter_gltf_plugin.cpp index 841687186..3cacecf06 100644 --- a/editor_modules/gltf/editor_scene_exporter_gltf_plugin.cpp +++ b/editor_modules/gltf/editor_scene_exporter_gltf_plugin.cpp @@ -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) {