mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-11 01:01:48 +08:00
#7246 - Fixed rrror when resize object to bed limit
This commit is contained in:
parent
5c55bee923
commit
ab6ceaa68c
@ -40,7 +40,8 @@ ModelInstanceEPrintVolumeState printbed_collision_state(const Polygon& printbed_
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const bool contained_z = -1e10 < obj_min_z && obj_max_z < print_volume_height;
|
|
||||||
|
const bool contained_z = -1e10 < obj_min_z && obj_max_z <= print_volume_height;
|
||||||
return (contained_xy && contained_z) ? ModelInstancePVS_Inside : ModelInstancePVS_Partly_Outside;
|
return (contained_xy && contained_z) ? ModelInstancePVS_Inside : ModelInstancePVS_Partly_Outside;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user