diff --git a/lib/Slic3r/GUI/Plater/ObjectSettingsDialog.pm b/lib/Slic3r/GUI/Plater/ObjectSettingsDialog.pm index b40d081e5..a2d0b2d38 100644 --- a/lib/Slic3r/GUI/Plater/ObjectSettingsDialog.pm +++ b/lib/Slic3r/GUI/Plater/ObjectSettingsDialog.pm @@ -150,7 +150,7 @@ sub Closing { my $self = shift; # save ranges into the plater object - $self->model_object->layer_height_ranges([ $self->_get_ranges ]); + $self->model_object->set_layer_height_ranges([ $self->_get_ranges ]); } sub _get_ranges {