From 4d5eb1ee286bcee68b70cae516854cc5ffcd4563 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 16 Sep 2009 12:23:28 +0000 Subject: [PATCH] 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) { --- src/SMESH/SMESH_Gen.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 // ----------------------------------------------- -- 2.39.2