FIX: dont arrange when bed temp is greater than object's vitrify temp

Add large cost when bed temp is greater than object's vitrify temp
STUDIO-1623
Change-Id: Ib73d312fce7b80999f11d1f6c172a9c1575937b4
(cherry picked from commit aed896d44776c9cd2fd55202420a3811bc117896)
This commit is contained in:
miaoxin 2022-12-08 16:05:09 +08:00 committed by Lane.Wei
parent f438c2dfcb
commit f84402bc0e
1 changed files with 1 additions and 0 deletions

View File

@ -425,6 +425,7 @@ protected:
if (p.is_virt_object) continue; if (p.is_virt_object) continue;
score += lambda3 * (item.bed_temp - p.vitrify_temp > 0); score += lambda3 * (item.bed_temp - p.vitrify_temp > 0);
} }
score += lambda3 * (item.bed_temp - item.vitrify_temp > 0);
score += lambda4 * hasRowHeightConflict + lambda4 * hasLidHeightConflict; score += lambda4 * hasRowHeightConflict + lambda4 * hasLidHeightConflict;
} }
else { else {