Fix of the previous commit: Fixed sequential print unit tests.
This commit is contained in:
parent
808e45f5b3
commit
348bf39012
1 changed files with 1 additions and 1 deletions
|
@ -1202,7 +1202,7 @@ static inline bool sequential_print_vertical_clearance_valid(const Print &print)
|
||||||
auto it = std::max_element(print_instances_ordered.begin(), print_instances_ordered.end(), [](auto l, auto r) {
|
auto it = std::max_element(print_instances_ordered.begin(), print_instances_ordered.end(), [](auto l, auto r) {
|
||||||
return l->print_object->height() < r->print_object->height();
|
return l->print_object->height() < r->print_object->height();
|
||||||
});
|
});
|
||||||
return it == print_instances_ordered.end() || (*it)->print_object->height() < scale_(print.config().extruder_clearance_height.value);
|
return it == print_instances_ordered.end() || (*it)->print_object->height() <= scale_(print.config().extruder_clearance_height.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Precondition: Print::validate() requires the Print::apply() to be called its invocation.
|
// Precondition: Print::validate() requires the Print::apply() to be called its invocation.
|
||||||
|
|
Loading…
Reference in a new issue