mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 03:04:18 +05:00
0021884]: [CEA 679] SALOME crashes when using Netgen 2D without 1D algorithm
Stupid access to NULL object
This commit is contained in:
parent
c23203b921
commit
1943d6f613
@ -3475,7 +3475,7 @@ void SMESH_MesherHelper::FixQuadraticElements(SMESH_ComputeErrorPtr& error,
|
|||||||
h.ToFixNodeParameters(true);
|
h.ToFixNodeParameters(true);
|
||||||
}
|
}
|
||||||
//perf_print_all_meters(1);
|
//perf_print_all_meters(1);
|
||||||
if ( error->myName == EDITERR_NO_MEDIUM_ON_GEOM )
|
if ( error && error->myName == EDITERR_NO_MEDIUM_ON_GEOM )
|
||||||
error->myComment = "during conversion to quadratic, "
|
error->myComment = "during conversion to quadratic, "
|
||||||
"some medium nodes were not placed on geometry to avoid distorting elements";
|
"some medium nodes were not placed on geometry to avoid distorting elements";
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user