From cf684038a49442d0f1e2e2a3a2799f9f4fe8028a Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 10 Mar 2006 12:58:05 +0000 Subject: [PATCH] fix MultiConnection2D for quardratic faces --- src/Controls/SMESH_Controls.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Controls/SMESH_Controls.cxx b/src/Controls/SMESH_Controls.cxx index 8d17a7ae0..c00cbae43 100644 --- a/src/Controls/SMESH_Controls.cxx +++ b/src/Controls/SMESH_Controls.cxx @@ -1378,7 +1378,12 @@ void MultiConnection2D::GetValues(MValues& theValues){ SMDS_FaceIteratorPtr anIter = myMesh->facesIterator(); for(; anIter->more(); ){ const SMDS_MeshFace* anElem = anIter->next(); - SMDS_ElemIteratorPtr aNodesIter = anElem->nodesIterator(); + SMDS_ElemIteratorPtr aNodesIter; + if ( anElem->IsQuadratic() ) + aNodesIter = static_cast + (anElem)->interlacedNodesElemIterator(); + else + aNodesIter = anElem->nodesIterator(); long aNodeId[3]; //int aNbConnects=0; -- 2.39.2