From 54de7114c5bdaa2ee64ad6fd2e2cc40063016eb9 Mon Sep 17 00:00:00 2001 From: jmb462 Date: Fri, 20 Aug 2021 14:48:34 +0200 Subject: Add missing SNAME macro optimization for StringName in some functions --- scene/gui/graph_edit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scene/gui/graph_edit.cpp') diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index fcecbb5fca..ba67962ce2 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -2145,7 +2145,7 @@ void GraphEdit::arrange_nodes() { largest_node_size = 0.0f; } - emit_signal("begin_node_move"); + emit_signal(SNAME("begin_node_move")); for (const Set::Element *E = selected_nodes.front(); E; E = E->next()) { GraphNode *gn = Object::cast_to(node_names[E->get()]); gn->set_drag(true); @@ -2158,7 +2158,7 @@ void GraphEdit::arrange_nodes() { gn->set_position_offset(pos); gn->set_drag(false); } - emit_signal("end_node_move"); + emit_signal(SNAME("end_node_move")); arranging_graph = false; } -- cgit v1.2.3