Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix regression of smesh/3D_mesh_NETGEN/E8
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_MeshEditor.cxx
diff --git
a/src/SMESH/SMESH_MeshEditor.cxx
b/src/SMESH/SMESH_MeshEditor.cxx
index d4ef34bab0985f8e452f443ff676727768091b17..1bace2c2e75f663258d923f1d812124452bf95eb 100644
(file)
--- a/
src/SMESH/SMESH_MeshEditor.cxx
+++ b/
src/SMESH/SMESH_MeshEditor.cxx
@@
-1688,7
+1688,7
@@
void SMESH_MeshEditor::SplitVolumesIntoTetra (const TIDSortedElemSet & theElems,
swap( n2, n3 );
triangles.push_back( helper.AddFace( n1,n2,n3 ));
- if ( n3->getshapeId() < 1 )
+ if (
fSubMesh &&
n3->getshapeId() < 1 )
fSubMesh->AddNode( n3 );
}
}