mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
Correction for redmine issue #150 - make wire builder more stable.
This commit is contained in:
@@ -128,7 +128,12 @@ Standard_Boolean ShapeAnalysis_BoxBndTreeSelector::
|
||||
if((min3d - myMin3d) > RealSmall())
|
||||
myArrIndices(maxInd) = 0;
|
||||
|
||||
myMin3d = min3d;
|
||||
if ( (myArrIndices(Last) && minInd == Last) ||
|
||||
(!myArrIndices(Last) && minInd == First))
|
||||
{
|
||||
myMin3d = min3d;
|
||||
}
|
||||
|
||||
if (min3d > myTol)
|
||||
{
|
||||
myStatus = ShapeExtend::EncodeStatus (ShapeExtend_FAIL2);
|
||||
|
Reference in New Issue
Block a user