mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 05:22:02 +08:00
Fixed regression causing posPrepareInfill invalidation to have no effects. #3874
This commit is contained in:
parent
1857bf6391
commit
3776f1afc6
@ -156,7 +156,6 @@ sub prepare_infill {
|
|||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
|
|
||||||
return if $self->step_done(STEP_PREPARE_INFILL);
|
return if $self->step_done(STEP_PREPARE_INFILL);
|
||||||
$self->set_step_started(STEP_PREPARE_INFILL);
|
|
||||||
|
|
||||||
# This prepare_infill() is not really idempotent.
|
# This prepare_infill() is not really idempotent.
|
||||||
# TODO: It should clear and regenerate fill_surfaces at every run
|
# TODO: It should clear and regenerate fill_surfaces at every run
|
||||||
@ -164,6 +163,9 @@ sub prepare_infill {
|
|||||||
$self->invalidate_step(STEP_PERIMETERS);
|
$self->invalidate_step(STEP_PERIMETERS);
|
||||||
$self->make_perimeters;
|
$self->make_perimeters;
|
||||||
|
|
||||||
|
# Do this after invalidating STEP_PERIMETERS because that would re-invalidate STEP_PREPARE_INFILL
|
||||||
|
$self->set_step_started(STEP_PREPARE_INFILL);
|
||||||
|
|
||||||
# prerequisites
|
# prerequisites
|
||||||
$self->detect_surfaces_type;
|
$self->detect_surfaces_type;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user