mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
More work (breaks centering and internal surfaces detection)
This commit is contained in:
parent
02356fd613
commit
d488afd243
4 changed files with 24 additions and 19 deletions
|
@ -84,6 +84,9 @@ sub slice {
|
|||
pop @{$self->layers} if !map @{$_->lines}, @{$self->layers->[-1]->materials};
|
||||
|
||||
foreach my $layer (@{ $self->layers }) {
|
||||
# make sure all layers contain layer material objects for all materials
|
||||
$layer->material($_) for 0 .. ($self->print->materials_count-1);
|
||||
|
||||
Slic3r::debugf "Making surfaces for layer %d (slice z = %f):\n",
|
||||
$layer->id, unscale $layer->slice_z if $Slic3r::debug;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue