]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
fix regression of smesh/3D_mesh_NETGEN/E8
authoreap <eap@opencascade.com>
Wed, 15 Jun 2011 12:07:46 +0000 (12:07 +0000)
committereap <eap@opencascade.com>
Wed, 15 Jun 2011 12:07:46 +0000 (12:07 +0000)
src/SMESH/SMESH_MeshEditor.cxx

index d4ef34bab0985f8e452f443ff676727768091b17..1bace2c2e75f663258d923f1d812124452bf95eb 100644 (file)
@@ -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 );
           }
         }