Check the Belt Temperature Tower Model Load

Bail out like the other calibration paths when add_model() fails instead of
indexing the empty model.
This commit is contained in:
Hanif Koh
2026-09-11 15:59:38 +08:00
parent 33aec258da
commit 5cd6661280

View File

@@ -16556,7 +16556,8 @@ void Plater::calib_temp(const Calib_Params& params) {
<< ", falling back to 230_190 (embossed numbers will not match)";
asset = calib_dir + "belt_temp_tower_230_190.stl";
}
add_model(false, asset);
if (!add_model(false, asset) || model().objects.empty())
return;
// Place keel-first asset at the belt entry (designed Y = 0) so Z_gcode
// starts at 0, centered laterally on the bed, resting on the conveyor.