mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 14:05:55 +08:00
Fixed regression in color-by-filament visualization
This commit is contained in:
parent
b2a6dce75b
commit
8030b00be6
@ -1454,7 +1454,7 @@ sub load_print_object_toolpaths {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$add->($non_solid, $top_z, $copy, $color);
|
$add->($non_solid, $top_z, $copy, $color);
|
||||||
$color = $self->colors->[ ($layerm->region->config->solid_infill_extruder-1) % @{&COLORS} ];
|
$color = $self->colors->[ ($layerm->region->config->solid_infill_extruder-1) % @{$self->colors} ];
|
||||||
$add->($solid, $top_z, $copy, $color);
|
$add->($solid, $top_z, $copy, $color);
|
||||||
} else {
|
} else {
|
||||||
$add->($layerm->fills, $top_z, $copy, $color);
|
$add->($layerm->fills, $top_z, $copy, $color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user