X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMDS%2FSMDS_Mesh.cxx;h=9f89ced5825d2282416afee61e406e3b5cbce491;hp=5a0be6428be41fc6512043af7385faf6a1d8324f;hb=09ff68516faef6c372e6849999c594e7c20c7012;hpb=2077baef82667760cb5fdc79454203a10d457d38 diff --git a/src/SMDS/SMDS_Mesh.cxx b/src/SMDS/SMDS_Mesh.cxx index 5a0be6428..9f89ced58 100644 --- a/src/SMDS/SMDS_Mesh.cxx +++ b/src/SMDS/SMDS_Mesh.cxx @@ -1556,9 +1556,15 @@ SMDS_MeshVolume* SMDS_Mesh::AddVolumeFromVtkIdsWithID(const std::vectorGetFreeID(); SMDS_MeshVolume * v = SMDS_Mesh::AddVolumeWithID(n1, n2, n3, n4, n5, n6, n12, n23, n31, @@ -4376,6 +4383,7 @@ SMDS_MeshVolume* SMDS_Mesh::AddVolumeWithID(int n1, int n2, int n3, int n14,int n25,int n36, int n1245, int n2356, int n1346, int ID) { + //MESSAGE("AddVolumeWithID penta18 " << ID); return SMDS_Mesh::AddVolumeWithID ((SMDS_MeshNode*) myNodeIDFactory->MeshElement(n1) , (SMDS_MeshNode*) myNodeIDFactory->MeshElement(n2) , @@ -4422,6 +4430,7 @@ SMDS_MeshVolume* SMDS_Mesh::AddVolumeWithID(const SMDS_MeshNode * n1, const SMDS_MeshNode * n1346, int ID) { + //MESSAGE("AddVolumeWithID penta18 "<< ID); if (!n1 || !n2 || !n3 || !n4 || !n5 || !n6 || !n12 || !n23 || !n31 || !n45 || !n56 || !n64 || !n14 || !n25 || !n36 || !n1245 || !n2356 || !n1346) return 0; @@ -4430,7 +4439,7 @@ SMDS_MeshVolume* SMDS_Mesh::AddVolumeWithID(const SMDS_MeshNode * n1, return 0; } // --- retrieve nodes ID - myNodeIds.resize(15); + myNodeIds.resize(18); myNodeIds[0] = n1->getVtkId(); myNodeIds[1] = n2->getVtkId(); myNodeIds[2] = n3->getVtkId();