From 122146abd214f7107431507111532ecbb61de771 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 6 Mar 2007 06:30:57 +0000 Subject: [PATCH] fix connectivity, PAL15152 (hexa mesh is built wrong) --- src/OBJECT/SMESH_Object.cxx | 1 + 1 file changed, 1 insertion(+) 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