Explorar o código

Fix update_property() in particle material editor

kobewi hai 1 ano
pai
achega
24b210d1c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();