FIX: slice error abort Label object id error

jira: STUDIO-13010
Change-Id: Ia1bc287e2d57201e2d28469685490397f5a213b7
(cherry picked from commit 488929eb0850bf6adc300ac133b1cdd7d7b52af7)
This commit is contained in:
zhimin.zeng 2025-07-03 10:06:11 +08:00 committed by Noisyfox
parent 70f5abfdc1
commit c945bfa36c

View file

@ -4657,6 +4657,7 @@ LayerResult GCode::process_layer(
if (is_BBL_Printer() &&
(print.num_object_instances() <= g_max_label_object) && // Don't support too many objects on one plate
(print.num_object_instances() > 1) && // Don't support skipping single object
(layer_object_label_ids.size() > 0) &&
(print.calib_params().mode == CalibMode::Calib_None)) {
std::ostringstream oss;
for (auto it = layer_object_label_ids.begin(); it != layer_object_label_ids.end(); ++it) {