Browse Source

Multi-selection restored properly after switching scenes

Fixes #33511
PouleyKetchoupp 5 years ago
parent
commit
b777d9b34a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/editor_data.cpp

+ 1 - 1
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();