Multi-selection restored properly after switching scenes

Fixes #33511
This commit is contained in:
PouleyKetchoupp 2019-11-10 09:32:07 +01:00
parent 94f00eb6c5
commit b777d9b34a

View File

@ -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();