mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-13 20:16:01 +08:00
Flatten entities
This commit is contained in:
parent
5e6910de4e
commit
11f85a490a
@ -403,8 +403,9 @@ PrintGCode::process_layer(size_t idx, const Layer* layer, const Points& copies)
|
||||
const auto& skirt_flow {print.skirt_flow()};
|
||||
|
||||
// distribute skirt loops across all extruders in layer 0
|
||||
auto skirt_loops {print.skirt.entities};
|
||||
auto skirt_loops {print.skirt.flatten().entities};
|
||||
for (size_t i = 0; i < skirt_loops.size(); ++i) {
|
||||
|
||||
// when printing layers > 0 ignore 'min_skirt_length' and
|
||||
// just use the 'skirts' setting; also just use the current extruder
|
||||
if (layer->id() > 0 && i >= static_cast<size_t>(print.config.skirts)) break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user