summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-03-01 17:22:25 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-03-01 17:22:25 +0100
commitdad6c774b019ef8c5dccb4a1955c6a77b41a323e (patch)
treede72b1e43ca4d4d34da22110e22e1eabce859ef6
parent7c3090ed4aa10cd8ecee8aa0e44df3888d31e575 (diff)
parent24b210d1c881433f14eefd56c1d5b57748c583c3 (diff)
downloadredot-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.cpp2
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();