mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 06:30:34 +05:00
PAL12239. Prevent from crash on mesh without nodes
This commit is contained in:
parent
843df0f0f3
commit
10291d5e0d
@ -124,6 +124,8 @@ DriverMED_R_SMESHDS_Mesh
|
||||
// Reading MED nodes to the corresponding SMDS structure
|
||||
//------------------------------------------------------
|
||||
PNodeInfo aNodeInfo = aMed->GetPNodeInfo(aMeshInfo);
|
||||
if ( !aNodeInfo )
|
||||
return DRS_FAIL;
|
||||
|
||||
PCoordHelper aCoordHelper = GetCoordHelper(aNodeInfo);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user