From: eap Date: Fri, 10 Mar 2006 12:58:05 +0000 (+0000) Subject: fix MultiConnection2D for quardratic faces X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cf684038a49442d0f1e2e2a3a2799f9f4fe8028a;p=modules%2Fsmesh.git fix MultiConnection2D for quardratic faces --- 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;