mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 02:40:35 +05:00
PAL11200. do not return NULL submeshes from getSubmeshes()
This commit is contained in:
parent
5d147e239e
commit
73b8b394ec
@ -146,7 +146,9 @@ bool getSubMeshes(::SMESH_subMesh* theSubMesh,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: theSubMeshList.push_back( aSubMeshDS );
|
default:
|
||||||
|
if ( aSubMeshDS )
|
||||||
|
theSubMeshList.push_back( aSubMeshDS );
|
||||||
}
|
}
|
||||||
return size < theSubMeshList.size();
|
return size < theSubMeshList.size();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user