diff options
author | jmb462 <jmb462@gmail.com> | 2022-02-06 15:53:53 +0100 |
---|---|---|
committer | jmb462 <jmb462@gmail.com> | 2022-02-06 15:54:04 +0100 |
commit | 1ce81dc5f2bd5db8bff0e60af846b994492810f9 (patch) | |
tree | 7f7aaede5eea33b0da0f14f17d57d654988fa557 /scene/3d | |
parent | fd0d2dcabf5b7418691b693cd01baecbb69fdeb9 (diff) |
Add missing SNAME macro optimization in some function calls
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/xr_nodes.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/3d/xr_nodes.cpp b/scene/3d/xr_nodes.cpp index a054f35d2e..66d1b97056 100644 --- a/scene/3d/xr_nodes.cpp +++ b/scene/3d/xr_nodes.cpp @@ -482,22 +482,22 @@ void XRController3D::_unbind_tracker() { void XRController3D::_button_pressed(const String &p_name) { // just pass it on... - emit_signal("button_pressed", p_name); + emit_signal(SNAME("button_pressed"), p_name); } void XRController3D::_button_released(const String &p_name) { // just pass it on... - emit_signal("button_released", p_name); + emit_signal(SNAME("button_released"), p_name); } void XRController3D::_input_value_changed(const String &p_name, float p_value) { // just pass it on... - emit_signal("input_value_changed", p_name, p_value); + emit_signal(SNAME("input_value_changed"), p_name, p_value); } void XRController3D::_input_axis_changed(const String &p_name, Vector2 p_value) { // just pass it on... - emit_signal("input_axis_changed", p_name, p_value); + emit_signal(SNAME("input_axis_changed"), p_name, p_value); } bool XRController3D::is_button_pressed(const StringName &p_name) const { |