Skip to content

Commit

Permalink
Fix update_property() in particle material editor
Browse files Browse the repository at this point in the history
  • Loading branch information
KoBeWi committed Mar 1, 2024
1 parent 8e951fd commit 24b210d
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 24b210d

Please sign in to comment.