FIX: add notes

Change-Id: I230637e6c8b3cfe9e49655cf67f338f77a57732e
This commit is contained in:
zhimin.zeng authored and Lane.Wei committed 2022-12-15 04:33:48 -05:00
1 parent 2a339d02c2
commit af48c3db38
2 files changed
+8

No files matched your search

+1
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)