Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aacc45
)
Regression of 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
author
eap
<eap@opencascade.com>
Wed, 18 Apr 2012 16:31:39 +0000
(16:31 +0000)
committer
eap
<eap@opencascade.com>
Wed, 18 Apr 2012 16:31:39 +0000
(16:31 +0000)
src/StdMeshers/StdMeshers_Projection_2D.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_Projection_2D.cxx
b/src/StdMeshers/StdMeshers_Projection_2D.cxx
index 9aef5d6cdf5f412c572bce20d1e616107676740f..8255b7486251ce48018e87c346af8bc8fec574a6 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Projection_2D.cxx
+++ b/
src/StdMeshers/StdMeshers_Projection_2D.cxx
@@
-948,7
+948,7
@@
bool StdMeshers_Projection_2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape&
{
SMESH_subMesh* sm = smIt->next();
SMESHDS_SubMesh* smDS = sm->GetSubMeshDS();
- if ( smDS->NbNodes() == 0 )
+ if (
!smDS ||
smDS->NbNodes() == 0 )
continue;
//if ( !is1DComputed && sm->GetSubShape().ShapeType() == TopAbs_EDGE )
//break;