diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-14 23:23:54 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-14 23:23:54 +0100 |
| commit | 80dbcfd9958bf6cc1d348f9a35ec671cb434a741 (patch) | |
| tree | fc0a8fbc45ad9431d96980249324a07ffac4fcad /editor/plugins/animation_state_machine_editor.cpp | |
| parent | d7d34e4bc19a54c964d50273e35e1fb506edf2c8 (diff) | |
| parent | 3b14f0334c9857a11ec8060562186aae5fe8cae0 (diff) | |
| download | redot-engine-80dbcfd9958bf6cc1d348f9a35ec671cb434a741.tar.gz | |
Merge pull request #68657 from Sauermann/fix-redundant-initialization
Remove redundant non-trivial Variant types initializations
Diffstat (limited to 'editor/plugins/animation_state_machine_editor.cpp')
| -rw-r--r-- | editor/plugins/animation_state_machine_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_state_machine_editor.cpp b/editor/plugins/animation_state_machine_editor.cpp index c32f9b1775..cc709182a8 100644 --- a/editor/plugins/animation_state_machine_editor.cpp +++ b/editor/plugins/animation_state_machine_editor.cpp @@ -420,7 +420,7 @@ void AnimationNodeStateMachineEditor::_state_machine_gui_input(const Ref<InputEv if (mm.is_valid()) { state_machine_draw->grab_focus(); - String new_over_node = StringName(); + String new_over_node; int new_over_node_what = -1; if (tool_select->is_pressed()) { for (int i = node_rects.size() - 1; i >= 0; i--) { // Inverse to draw order. |
