diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-05-14 09:40:21 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-05-14 15:51:28 +0200 |
commit | ee79386f7b5620c3d1ed18d24de7b9a4731602d4 (patch) | |
tree | 9740ef15899f7714cc81fc8cb018553ef5593d94 /modules/noise/editor/noise_editor_plugin.cpp | |
parent | 78cce1954ddb6fefb90b33742215f304ec7b0b94 (diff) | |
download | redot-engine-ee79386f7b5620c3d1ed18d24de7b9a4731602d4.tar.gz |
[Scene] Add SceneStringNames::pressed
Diffstat (limited to 'modules/noise/editor/noise_editor_plugin.cpp')
-rw-r--r-- | modules/noise/editor/noise_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/noise/editor/noise_editor_plugin.cpp b/modules/noise/editor/noise_editor_plugin.cpp index 917fa0cd15..200f31cca1 100644 --- a/modules/noise/editor/noise_editor_plugin.cpp +++ b/modules/noise/editor/noise_editor_plugin.cpp @@ -67,7 +67,7 @@ public: _3d_space_switch->set_toggle_mode(true); _3d_space_switch->set_offset(SIDE_LEFT, PADDING_3D_SPACE_SWITCH); _3d_space_switch->set_offset(SIDE_TOP, PADDING_3D_SPACE_SWITCH); - _3d_space_switch->connect("pressed", callable_mp(this, &NoisePreview::_on_3d_button_pressed)); + _3d_space_switch->connect(SceneStringName(pressed), callable_mp(this, &NoisePreview::_on_3d_button_pressed)); add_child(_3d_space_switch); } |