Guard against non-main-thread emission of EditorFileSystem changed signal
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user