From b777d9b34ac60ce94480ed4e4f290900d788f059 Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Sun, 10 Nov 2019 09:32:07 +0100 Subject: [PATCH] Multi-selection restored properly after switching scenes Fixes #33511 --- editor/editor_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp index 4855d3f69d8..1cafd1d1f4f 100644 --- a/editor/editor_data.cpp +++ b/editor/editor_data.cpp @@ -820,7 +820,7 @@ void EditorData::save_edited_scene_state(EditorSelection *p_selection, EditorHis ERR_FAIL_INDEX(current_edited_scene, edited_scene.size()); EditedScene &es = edited_scene.write[current_edited_scene]; - es.selection = p_selection->get_selected_node_list(); + es.selection = p_selection->get_full_selected_node_list(); es.history_current = p_history->current; es.history_stored = p_history->history; es.editor_states = get_editor_states();