mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
in CreateMesh(), fix storing a new mesh in aStudyContext: - aStudyContext->mapMesh[_localId] = aMesh; + aStudyContext->mapMesh[_localId-1] = aMesh;
This commit is contained in:
parent
b35e752a84
commit
fe75082f74
@ -102,7 +102,7 @@ SMESH_Mesh* SMESH_Gen::CreateMesh(int theStudyId, bool theIsEmbeddedMode)
|
|||||||
this,
|
this,
|
||||||
theIsEmbeddedMode,
|
theIsEmbeddedMode,
|
||||||
aStudyContext->myDocument);
|
aStudyContext->myDocument);
|
||||||
aStudyContext->mapMesh[_localId] = aMesh;
|
aStudyContext->mapMesh[_localId-1] = aMesh;
|
||||||
|
|
||||||
return aMesh;
|
return aMesh;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user