From ed7d4ac97151d80128179b3dd7d8d35da1e72c84 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 1 Feb 2013 10:52:04 +0000 Subject: [PATCH] 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm In Compute(), do not call Compute() of a more local algo if this !algo->NeedDiscreteBoundary() also --- src/SMESH/SMESH_Gen.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index 098c754bc..a9da55b41 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -322,6 +322,7 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh, .And( SMESH_HypoFilter::IsMoreLocalThan( algoShape, aMesh )); if ( SMESH_Algo* subAlgo = (SMESH_Algo*) aMesh.GetHypothesis( aSubShape, filter, true )) { + if ( ! subAlgo->NeedDiscreteBoundary() ) continue; SMESH_Hypothesis::Hypothesis_Status status; if ( subAlgo->CheckHypothesis( aMesh, aSubShape, status )) // mesh a lower smToCompute starting from vertices -- 2.39.2