summaryrefslogtreecommitdiffstats
path: root/modules/gltf
diff options
context:
space:
mode:
authorHakim <hakim.rouatbi@gmail.com>2023-06-10 22:53:06 +0200
committerHakim <hakim.rouatbi@gmail.com>2023-06-10 23:04:20 +0200
commit1fb1dd324810d8a7ff29f5e75c9a036bbe0ed5ac (patch)
tree2ee57c0267632fd6cf8a7acd69028d5756e92ece /modules/gltf
parent37d1dfef9d81aade27ab0c56fc6b6f12f6a08045 (diff)
downloadredot-engine-1fb1dd324810d8a7ff29f5e75c9a036bbe0ed5ac.tar.gz
Refresh the filesystem tab when exporting a new GLTF file
Diffstat (limited to 'modules/gltf')
-rw-r--r--modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp b/modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp
index 554fe5a422..af870ed13c 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() {