Bugfix: reprocess brim and skirt after changing number of copies
This commit is contained in:
parent
9daadd1fb6
commit
d8bb0bff7f
1 changed files with 5 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue