Merge pull request #33512 from nekomatata/multi-selection-switch-scene

Multi-selection restored properly after switching scenes
This commit is contained in:
Rémi Verschelde 2019-11-10 10:03:26 +01:00 committed by GitHub
commit 3353d797d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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