From: duv Date: Mon, 31 Jul 2017 11:18:20 +0000 (+0300) Subject: Fix for bug_12856. X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR0-710-CRFRM;p=occt-copy.git Fix for bug_12856. Sampling loop exit conditions was inverted. --- diff --git a/src/BRepMesh/BRepMesh_RestoreOrientationTool.cxx b/src/BRepMesh/BRepMesh_RestoreOrientationTool.cxx index d170ba69d4..b53d8bf9d0 100644 --- a/src/BRepMesh/BRepMesh_RestoreOrientationTool.cxx +++ b/src/BRepMesh/BRepMesh_RestoreOrientationTool.cxx @@ -397,7 +397,7 @@ void BRepMesh_RestoreOrientationTool::computeVisibility (BVH_Triangulation 1.0) + if (aKsi + aPsi <= 1.0) { break; } @@ -433,7 +433,7 @@ void BRepMesh_RestoreOrientationTool::computeVisibility (BVH_Triangulation= 0.2) { break; }