FIX: add notes

Change-Id: I230637e6c8b3cfe9e49655cf67f338f77a57732e
This commit is contained in:
zhimin.zeng 2022-11-11 18:16:11 +08:00 committed by Lane.Wei
parent 2a339d02c2
commit af48c3db38
2 changed files with 8 additions and 0 deletions

View file

@ -958,6 +958,7 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
const coordf_t eps = 0.5 * EPSILON; // layers closer than EPSILON will be merged later. Let's make
// this check a bit more sensitive to make sure we never consider two different layers as one.
while (i < layer_height_profiles[idx_object].size() && i < layer_height_profiles[tallest_object_idx].size()) {
// BBS: remove the break condition, because a variable layer height object and a new object will not be checked when slicing
//if (i % 2 == 0 && layer_height_profiles[tallest_object_idx][i] > layer_height_profiles[idx_object][layer_height_profiles[idx_object].size() - 2])
// break;
if (std::abs(layer_height_profiles[idx_object][i] - layer_height_profiles[tallest_object_idx][i]) > eps)