Skip to content

Commit

Permalink
Merge pull request #89048 from KoBeWi/iBug
Browse files Browse the repository at this point in the history
Fix `update_property()` in particle material editor
  • Loading branch information
akien-mga committed Mar 1, 2024
2 parents 7c3090e + 24b210d commit dad6c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/particle_process_material_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit dad6c77

Please sign in to comment.