summaryrefslogtreecommitdiffstats
path: root/editor/plugins/animation_state_machine_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-06 00:11:59 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-06 00:11:59 +0100
commite070362bd0e8213d121fb9be5c11f1b58c7562e4 (patch)
treea6aa337ebdb63ed96f4ecf8de11b364fb1431a8e /editor/plugins/animation_state_machine_editor.cpp
parent1816f49886c32c89e328edfe4fbd99fcf9292530 (diff)
parent82c00c21e6d907a4be81f6cc404181acc7060265 (diff)
downloadredot-engine-e070362bd0e8213d121fb9be5c11f1b58c7562e4.tar.gz
Merge pull request #70963 from YuriSizov/editor-dead-codes-society
Simplify some editor plugin logic and remove dead code
Diffstat (limited to 'editor/plugins/animation_state_machine_editor.cpp')
-rw-r--r--editor/plugins/animation_state_machine_editor.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/editor/plugins/animation_state_machine_editor.cpp b/editor/plugins/animation_state_machine_editor.cpp
index ff45c526c3..4ea2f0c561 100644
--- a/editor/plugins/animation_state_machine_editor.cpp
+++ b/editor/plugins/animation_state_machine_editor.cpp
@@ -1760,10 +1760,6 @@ void AnimationNodeStateMachineEditor::_open_editor(const String &p_name) {
AnimationTreeEditor::get_singleton()->enter_editor(p_name);
}
-void AnimationNodeStateMachineEditor::_removed_from_graph() {
- EditorNode::get_singleton()->edit_item(nullptr);
-}
-
void AnimationNodeStateMachineEditor::_name_edited(const String &p_text) {
const String &new_name = p_text;
@@ -1942,7 +1938,6 @@ void AnimationNodeStateMachineEditor::_update_mode() {
void AnimationNodeStateMachineEditor::_bind_methods() {
ClassDB::bind_method("_update_graph", &AnimationNodeStateMachineEditor::_update_graph);
- ClassDB::bind_method("_removed_from_graph", &AnimationNodeStateMachineEditor::_removed_from_graph);
ClassDB::bind_method("_open_editor", &AnimationNodeStateMachineEditor::_open_editor);
ClassDB::bind_method("_connect_to", &AnimationNodeStateMachineEditor::_connect_to);
ClassDB::bind_method("_stop_connecting", &AnimationNodeStateMachineEditor::_stop_connecting);