From: eap Date: Thu, 20 Nov 2008 15:50:36 +0000 (+0000) Subject: 0020053: EDF 868 GEOM: Using sub-meshes X-Git-Tag: V4_1_4rc2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3d14a19f1e23778531d4e54b6019820c61df0484;p=modules%2Fsmesh.git 0020053: EDF 868 GEOM: Using sub-meshes --- diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index 52c2f9b09..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 ); } } } @@ -241,10 +241,10 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh, if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE) sm->ComputeStateEngine( SMESH_subMesh::COMPUTE ); - // ------------------------ - // mesh the rest subshapes - // ------------------------ - ret = Compute( aMesh, aShape ); + // ----------------------------------------------- + // mesh the rest subshapes starting from vertices + // ----------------------------------------------- + ret = Compute( aMesh, aShape, /*anUpward=*/true ); } MESSAGE( "VSR - SMESH_Gen::Compute() finished, OK = " << ret);