Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bos #24400 [CEA] Option in SALOME for not storing in med files the indices (number...
[modules/smesh.git]
/
src
/
MEDWrapper
/
MED_Structures.cxx
diff --git
a/src/MEDWrapper/MED_Structures.cxx
b/src/MEDWrapper/MED_Structures.cxx
index bca82e0ff07ace02b7283fdc7742ee4ad55373da..c04113bc43a3a4d7e3a16e80243b606d945cb532 100644
(file)
--- a/
src/MEDWrapper/MED_Structures.cxx
+++ b/
src/MEDWrapper/MED_Structures.cxx
@@
-141,7
+141,8
@@
namespace MED
TElemInfo
::SetElemNum(TInt theId, TInt theVal)
{
- (*myElemNum)[theId] = theVal;
+ if ( IsElemNum() )
+ (*myElemNum)[theId] = theVal;
}
//---------------------------------------------------------------