mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Render brim and skirt in 3D toolpaths preview. #2649
This commit is contained in:
parent
36ba2eb5d6
commit
c64308a5e7
4 changed files with 51 additions and 4 deletions
|
@ -225,8 +225,8 @@ sub make_skirt {
|
|||
my $skirt_height_z = -1;
|
||||
foreach my $object (@{$self->objects}) {
|
||||
my $skirt_height = $self->has_infinite_skirt
|
||||
? scalar(@{$object->layers})
|
||||
: min($self->config->skirt_height, scalar(@{$object->layers}));
|
||||
? $object->layer_count
|
||||
: min($self->config->skirt_height, $object->layer_count);
|
||||
my $highest_layer = $object->get_layer($skirt_height - 1);
|
||||
$skirt_height_z = max($skirt_height_z, $highest_layer->print_z);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue