summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editor/editor_data.cpp5
-rw-r--r--editor/editor_data.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp
index be7376a5c4..af7163eec1 100644
--- a/editor/editor_data.cpp
+++ b/editor/editor_data.cpp
@@ -925,7 +925,6 @@ Dictionary EditorData::restore_edited_scene_state(EditorSelection *p_selection,
for (Node *E : es.selection) {
p_selection->add_node(E);
}
- p_selection->cancel_update(); // Selection update results in redundant Node edit, so we cancel it.
set_editor_plugin_states(es.editor_states);
return es.custom_state;
@@ -1350,10 +1349,6 @@ void EditorSelection::clear() {
node_list_changed = true;
}
-void EditorSelection::cancel_update() {
- changed = false;
-}
-
EditorSelection::EditorSelection() {
}
diff --git a/editor/editor_data.h b/editor/editor_data.h
index 400cbb0536..28fe13e537 100644
--- a/editor/editor_data.h
+++ b/editor/editor_data.h
@@ -312,7 +312,6 @@ public:
void update();
void clear();
- void cancel_update();
// Returns all the selected nodes.
TypedArray<Node> get_selected_nodes();