Measurement: Fixed edge detection on single-triangle planes
This commit is contained in:
parent
048fb10c31
commit
8aa62b88f6
@ -225,7 +225,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…
Reference in New Issue
Block a user