mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-11 00:41:48 +08:00
Measurement: Fixed edge detection on single-triangle planes
This commit is contained in:
parent
cc8a6a3fff
commit
456e61c7d3
@ -227,7 +227,7 @@ void MeasuringImpl::update_planes()
|
||||
|
||||
// In case of broken meshes, this loop might be infinite. Break
|
||||
// out in case it is clearly going bad.
|
||||
if (last_border.size() > 3*facets.size())
|
||||
if (last_border.size() > 3*facets.size()+1)
|
||||
goto PLANE_FAILURE;
|
||||
|
||||
} while (he != he_start);
|
||||
|
Loading…
x
Reference in New Issue
Block a user