Salome HOME
0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
authoreap <eap@opencascade.com>
Wed, 26 Jan 2011 13:40:27 +0000 (13:40 +0000)
committereap <eap@opencascade.com>
Wed, 26 Jan 2011 13:40:27 +0000 (13:40 +0000)
    Fix SplitVolumesIntoTetra() taking into account changed behavior
    of the complex SMESHDS_SubMesh

src/SMESH/SMESH_MeshEditor.cxx

index a0434ebfc519dece8f71cd68fe7136356996b1d7..48784b5f2b0d0237d653e4623de33ac03eec25d4 100644 (file)
@@ -1569,8 +1569,8 @@ void SMESH_MeshEditor::SplitVolumesIntoTetra (const TIDSortedElemSet & theElems,
   SMDS_VolumeTool    volTool;
   SMESH_MesherHelper helper( *GetMesh());
 
-  SMESHDS_SubMesh* subMesh = GetMeshDS()->MeshElements(1);
-  SMESHDS_SubMesh* fSubMesh = subMesh;
+  SMESHDS_SubMesh* subMesh = 0;//GetMeshDS()->MeshElements(1);
+  SMESHDS_SubMesh* fSubMesh = 0;//subMesh;
   
   SMESH_SequenceOfElemPtr newNodes, newElems;