Bugfix: reprocess brim and skirt after changing number of copies

This commit is contained in:
Alessandro Ranellucci 2014-09-21 10:56:51 +02:00
parent 9daadd1fb6
commit d8bb0bff7f

View file

@ -565,16 +565,20 @@ sub increase {
$self->{list}->SetItem($obj_idx, 1, $model_object->instances_count);
# only autoarrange if user has autocentering enabled
$self->stop_background_process;
if ($Slic3r::GUI::Settings->{_}{autocenter}) {
$self->arrange;
} else {
$self->update;
}
$self->schedule_background_process;
}
sub decrease {
my $self = shift;
$self->stop_background_process;
my ($obj_idx, $object) = $self->selected_object;
my $model_object = $self->{model}->objects->[$obj_idx];
if ($model_object->instances_count >= 2) {
@ -590,6 +594,7 @@ sub decrease {
$self->{list}->Select($obj_idx, 1);
}
$self->update;
$self->schedule_background_process;
}
sub rotate {