Browse Source

Merge pull request #89048 from KoBeWi/iBug

Fix `update_property()` in particle material editor
Rémi Verschelde 1 year ago
parent
commit
dad6c774b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/plugins/particle_process_material_editor_plugin.cpp

+ 1 - 1
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();