Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b35e752
)
0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
author
eap
<eap@opencascade.com>
Tue, 24 Jan 2012 12:58:12 +0000
(12:58 +0000)
committer
eap
<eap@opencascade.com>
Tue, 24 Jan 2012 12:58:12 +0000
(12:58 +0000)
in CreateMesh(), fix storing a new mesh in aStudyContext:
- aStudyContext->mapMesh[_localId] = aMesh;
+ aStudyContext->mapMesh[_localId-1] = aMesh;
src/SMESH/SMESH_Gen.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Gen.cxx
b/src/SMESH/SMESH_Gen.cxx
index 421dc85a4c7540bdd3cee419b80eaf08b85da50c..ac79496d223603aeab14a56c93331c2f0749c635 100644
(file)
--- a/
src/SMESH/SMESH_Gen.cxx
+++ b/
src/SMESH/SMESH_Gen.cxx
@@
-102,7
+102,7
@@
SMESH_Mesh* SMESH_Gen::CreateMesh(int theStudyId, bool theIsEmbeddedMode)
this,
theIsEmbeddedMode,
aStudyContext->myDocument);
- aStudyContext->mapMesh[_localId] = aMesh;
+ aStudyContext->mapMesh[_localId
-1
] = aMesh;
return aMesh;
}