From 1fb1dd324810d8a7ff29f5e75c9a036bbe0ed5ac Mon Sep 17 00:00:00 2001 From: Hakim Date: Sat, 10 Jun 2023 22:53:06 +0200 Subject: [PATCH] Refresh the filesystem tab when exporting a new GLTF file --- modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp b/modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp index 554fe5a4221..af870ed13c8 100644 --- a/modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp +++ b/modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp @@ -86,6 +86,7 @@ void SceneExporterGLTFPlugin::_gltf2_dialog_action(String p_file) { if (err != OK) { ERR_PRINT(vformat("glTF2 save scene error %s.", itos(err))); } + EditorFileSystem::get_singleton()->scan_changes(); } void SceneExporterGLTFPlugin::convert_scene_to_gltf2() {