From 4654adfa6fdcdd9d438b48da79fd21edc8bf684f Mon Sep 17 00:00:00 2001 From: duv Date: Mon, 31 Jul 2017 14:18:20 +0300 Subject: [PATCH] Fix for bug_12856. Sampling loop exit conditions was inverted. --- src/BRepMesh/BRepMesh_RestoreOrientationTool.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5