diff options
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); |