mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-27 09:59:48 -07:00
FIX: Accuracy judgment problem of printable area
jira: none Change-Id: I13cb2e34ec049947f7acce35110ed8e2e5fa6033 (cherry picked from commit c819ec27a596771ba77bfef9fb49e68002dc4bec)
This commit is contained in:
parent
8097ffab25
commit
426236b53e
1 changed files with 2 additions and 2 deletions
|
|
@ -486,8 +486,8 @@ BuildVolume::ObjectState BuildVolume::check_object_state_with_extruder_areas(co
|
|||
BuildVolume::ObjectState BuildVolume::check_volume_bbox_state_with_extruder_area(const BoundingBoxf3& volume_bbox, int index) const
|
||||
{
|
||||
const BuildExtruderVolume& extruder_volume = get_extruder_area_volume(index);
|
||||
|
||||
if (extruder_volume.same_with_bed || extruder_volume.bboxf.contains(volume_bbox))
|
||||
BoundingBox3Base<Vec3d> extruder_bbox = extruder_volume.bboxf.inflated(SceneEpsilon);
|
||||
if (extruder_volume.same_with_bed || extruder_bbox.contains(volume_bbox))
|
||||
return ObjectState::Inside;
|
||||
else
|
||||
return ObjectState::Limited;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue