From: eap Date: Thu, 20 Nov 2008 08:46:09 +0000 (+0000) Subject: Avoid meshing submeshes with global algos under submeshes that are to X-Git-Tag: V5_1_0rc2~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9da3ff46f08975ecf2c494d83a6cf3c006eafee8;p=modules%2Fsmesh.git Avoid meshing submeshes with global algos under submeshes that are to be meshed with all-dim algos like NETGEN 1D-2D --- diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index e8d57f86c..a745417e7 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -229,8 +229,8 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh, if ( SMESH_Algo* subAlgo = (SMESH_Algo*) aMesh.GetHypothesis( aSubShape, filter, true )) { SMESH_Hypothesis::Hypothesis_Status status; if ( subAlgo->CheckHypothesis( aMesh, aSubShape, status )) - // mesh a lower smToCompute starting from vertices - Compute( aMesh, aSubShape, /*anUpward=*/true ); + // mesh a lower smToCompute + Compute( aMesh, aSubShape ); } } }