summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2019-11-10 09:32:07 +0100
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2019-11-10 09:32:07 +0100
commitb777d9b34ac60ce94480ed4e4f290900d788f059 (patch)
tree9ede4ac45fbab0b15a9ea46054ef8c11351ab09e
parent94f00eb6c5323dff933a4985b60e8ebf9391f940 (diff)
Multi-selection restored properly after switching scenes
Fixes #33511
-rw-r--r--editor/editor_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp
index 4855d3f69d..1cafd1d1f4 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();