mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-06 23:00:34 +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();
|
SMESH_subMesh* sm = smIt->next();
|
||||||
SMESHDS_SubMesh* smDS = sm->GetSubMeshDS();
|
SMESHDS_SubMesh* smDS = sm->GetSubMeshDS();
|
||||||
if ( smDS->NbNodes() == 0 )
|
if ( !smDS || smDS->NbNodes() == 0 )
|
||||||
continue;
|
continue;
|
||||||
//if ( !is1DComputed && sm->GetSubShape().ShapeType() == TopAbs_EDGE )
|
//if ( !is1DComputed && sm->GetSubShape().ShapeType() == TopAbs_EDGE )
|
||||||
//break;
|
//break;
|
||||||
|
Loading…
Reference in New Issue
Block a user