فهرست منبع

Merge pull request #89048 from KoBeWi/iBug

Fix `update_property()` in particle material editor
Rémi Verschelde 1 سال پیش
والد
کامیت
dad6c774b0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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();