diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-11-10 10:03:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-10 10:03:26 +0100 |
| commit | 3353d797d66a1ad534778776770a587cf418bd64 (patch) | |
| tree | 9ede4ac45fbab0b15a9ea46054ef8c11351ab09e | |
| parent | 94f00eb6c5323dff933a4985b60e8ebf9391f940 (diff) | |
| parent | b777d9b34ac60ce94480ed4e4f290900d788f059 (diff) | |
Merge pull request #33512 from nekomatata/multi-selection-switch-scene
Multi-selection restored properly after switching scenes
| -rw-r--r-- | editor/editor_data.cpp | 2 |
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(); |