From 24b210d1c881433f14eefd56c1d5b57748c583c3 Mon Sep 17 00:00:00 2001 From: kobewi Date: Fri, 1 Mar 2024 16:03:53 +0100 Subject: [PATCH] Fix update_property() in particle material editor --- editor/plugins/particle_process_material_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/particle_process_material_editor_plugin.cpp b/editor/plugins/particle_process_material_editor_plugin.cpp index d6ec3921d5fc..d78c45565654 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();