From: eap Date: Wed, 16 Sep 2009 12:23:28 +0000 (+0000) Subject: 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder X-Git-Tag: V4_1_0_maintainance_FINAL~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4d5eb1ee286bcee68b70cae516854cc5ffcd4563;p=modules%2Fsmesh.git 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder pb: only the 1st algo is applied // apply the algos that do not require descretized boundaries // ---------------------------------------------------------- for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt ) + { + sm = *subIt; if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE) { --- diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index 505230676..a68aac8c7 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -237,9 +237,11 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh, // apply the algos that do not require descretized boundaries // ---------------------------------------------------------- for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt ) + { + sm = *subIt; if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE) sm->ComputeStateEngine( SMESH_subMesh::COMPUTE ); - + } // ----------------------------------------------- // mesh the rest subshapes starting from vertices // -----------------------------------------------