diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-01 17:22:25 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-01 17:22:25 +0100 |
commit | dad6c774b019ef8c5dccb4a1955c6a77b41a323e (patch) | |
tree | de72b1e43ca4d4d34da22110e22e1eabce859ef6 | |
parent | 7c3090ed4aa10cd8ecee8aa0e44df3888d31e575 (diff) | |
parent | 24b210d1c881433f14eefd56c1d5b57748c583c3 (diff) | |
download | redot-engine-dad6c774b019ef8c5dccb4a1955c6a77b41a323e.tar.gz |
Merge pull request #89048 from KoBeWi/iBug
Fix `update_property()` in particle material editor
-rw-r--r-- | editor/plugins/particle_process_material_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/particle_process_material_editor_plugin.cpp b/editor/plugins/particle_process_material_editor_plugin.cpp index d6ec3921d5..d78c455656 100644 --- a/editor/plugins/particle_process_material_editor_plugin.cpp +++ b/editor/plugins/particle_process_material_editor_plugin.cpp @@ -386,7 +386,7 @@ void ParticleProcessMaterialMinMaxPropertyEditor::setup(float p_min, float p_max } void ParticleProcessMaterialMinMaxPropertyEditor::update_property() { - const Vector2i value = get_edited_property_value(); + const Vector2 value = get_edited_property_value(); min_range->set_value(value.x); max_range->set_value(value.y); _update_slider_values(); |