Guard against non-main-thread emission of EditorFileSystem changed signal

This commit is contained in:
Aaron Franke
2026-01-17 16:38:08 -08:00
parent df6235838b
commit 4f898b498f
4 changed files with 22 additions and 8 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ void EditorInterface::make_scene_preview(const String &p_path, Node *p_scene, in
}
EditorResourcePreview::get_singleton()->check_for_invalidation(p_path);
EditorFileSystem::get_singleton()->emit_signal(SNAME("filesystem_changed"));
EditorFileSystem::get_singleton()->filesystem_changed();
}
void EditorInterface::add_root_node(Node *p_node) {