mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-31 02:24:27 +08:00
Merge branch 'tm_arrange_objfn_mod'
This commit is contained in:
commit
d9f845d0b3
@ -277,10 +277,10 @@ protected:
|
|||||||
if (result.empty())
|
if (result.empty())
|
||||||
score = 0.50 * dist + 0.50 * density;
|
score = 0.50 * dist + 0.50 * density;
|
||||||
else
|
else
|
||||||
score = R * 0.60 * dist +
|
// Let the density matter more when fewer objects remain
|
||||||
(1.0 - R) * 0.20 * density +
|
score = 0.50 * dist + (1.0 - R) * 0.20 * density +
|
||||||
0.20 * alignment_score;
|
0.30 * alignment_score;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case LAST_BIG_ITEM: {
|
case LAST_BIG_ITEM: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user