mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 12:41:18 -07:00
Fix toolpath preview after recent change of semantics of LayerRegion::perimeters
This commit is contained in:
parent
8b11adb883
commit
2f255620c6
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ sub Render {
|
||||||
foreach my $layerm (@{$layer->regions}) {
|
foreach my $layerm (@{$layer->regions}) {
|
||||||
if ($object->step_done(STEP_PERIMETERS)) {
|
if ($object->step_done(STEP_PERIMETERS)) {
|
||||||
$self->color([0.7, 0, 0]);
|
$self->color([0.7, 0, 0]);
|
||||||
$self->_draw($object, $print_z, $_) for @{$layerm->perimeters};
|
$self->_draw($object, $print_z, $_) for map @$_, @{$layerm->perimeters};
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($object->step_done(STEP_INFILL)) {
|
if ($object->step_done(STEP_INFILL)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue