浏览代码

Fix update_property() in particle material editor

kobewi 1 年之前
父节点
当前提交
24b210d1c8
共有 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();