From: eap Date: Tue, 6 Mar 2007 06:30:57 +0000 (+0000) Subject: fix connectivity, PAL15152 (hexa mesh is built wrong) X-Git-Tag: V3_2_6pre2~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=122146abd214f7107431507111532ecbb61de771;p=modules%2Fsmesh.git fix connectivity, PAL15152 (hexa mesh is built wrong) --- diff --git a/src/OBJECT/SMESH_Object.cxx b/src/OBJECT/SMESH_Object.cxx index e7637a2f8..695742269 100644 --- a/src/OBJECT/SMESH_Object.cxx +++ b/src/OBJECT/SMESH_Object.cxx @@ -346,6 +346,7 @@ void SMESH_VisualObjDef::buildElemPrs() SMDS_ElemIteratorPtr aNodesIter = anElem->nodesIterator(); switch(aType){ case SMDSAbs_Volume:{ + aConnect.clear(); std::vector aConnectivities; // Convertions connectivities from SMDS to VTK if (anElem->IsPoly() && aNbNodes > 3) { // POLYEDRE