summaryrefslogtreecommitdiffstats
path: root/editor/plugins/particle_process_material_editor_plugin.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2024-03-01 16:03:53 +0100
committerkobewi <kobewi4e@gmail.com>2024-03-01 16:03:53 +0100
commit24b210d1c881433f14eefd56c1d5b57748c583c3 (patch)
tree1c9acd835f149360e0e825ec8ae95720c2395c95 /editor/plugins/particle_process_material_editor_plugin.cpp
parent8e951fd0a92c551f260c3272039181be32121a32 (diff)
downloadredot-engine-24b210d1c881433f14eefd56c1d5b57748c583c3.tar.gz
Fix update_property() in particle material editor
Diffstat (limited to 'editor/plugins/particle_process_material_editor_plugin.cpp')
-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();