diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-05-14 11:42:00 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-06-19 09:44:38 +0200 |
commit | fbb879debd0957354ab42731be402b0a5a9f4e48 (patch) | |
tree | 1904b70039d8221e6732828420ef083814ac26ad /editor/plugins/particle_process_material_editor_plugin.cpp | |
parent | ca18a06ecbf68db50d8d7e7391b73a245c745cea (diff) | |
download | redot-engine-fbb879debd0957354ab42731be402b0a5a9f4e48.tar.gz |
[Scene] Add `SceneStringNames::text/value_changed`
Diffstat (limited to 'editor/plugins/particle_process_material_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/particle_process_material_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/particle_process_material_editor_plugin.cpp b/editor/plugins/particle_process_material_editor_plugin.cpp index 96359bf81c..79c9c69584 100644 --- a/editor/plugins/particle_process_material_editor_plugin.cpp +++ b/editor/plugins/particle_process_material_editor_plugin.cpp @@ -427,12 +427,12 @@ ParticleProcessMaterialMinMaxPropertyEditor::ParticleProcessMaterialMinMaxProper min_edit = memnew(EditorSpinSlider); min_edit->set_h_size_flags(SIZE_EXPAND_FILL); hb->add_child(min_edit); - min_edit->connect(SNAME("value_changed"), callable_mp(this, &ParticleProcessMaterialMinMaxPropertyEditor::_sync_sliders).bind(min_edit)); + min_edit->connect(SceneStringName(value_changed), callable_mp(this, &ParticleProcessMaterialMinMaxPropertyEditor::_sync_sliders).bind(min_edit)); max_edit = memnew(EditorSpinSlider); max_edit->set_h_size_flags(SIZE_EXPAND_FILL); hb->add_child(max_edit); - max_edit->connect(SNAME("value_changed"), callable_mp(this, &ParticleProcessMaterialMinMaxPropertyEditor::_sync_sliders).bind(max_edit)); + max_edit->connect(SceneStringName(value_changed), callable_mp(this, &ParticleProcessMaterialMinMaxPropertyEditor::_sync_sliders).bind(max_edit)); toggle_mode_button = memnew(Button); toggle_mode_button->set_toggle_mode(true); |