mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-05 06:10:33 +05:00
Regression of 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
This commit is contained in:
parent
5aacc45760
commit
d92679a25f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user