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
Debug
[modules/smesh.git]
/
src
/
SMESH_I
/
SMESH_Gen_i_1.cxx
diff --git
a/src/SMESH_I/SMESH_Gen_i_1.cxx
b/src/SMESH_I/SMESH_Gen_i_1.cxx
index c3123b3f5a79293b2f7b5fd0c563799bbdb73615..2441aa14c69c31f570f5d1778631f8d3435121a0 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i_1.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i_1.cxx
@@
-560,6
+560,10
@@
SALOMEDS::SObject_ptr SMESH_Gen_i::PublishMesh (SALOMEDS::Study_ptr theStudy,
}
}
}
}
+ // Update string attribute (to display used variables)
+ if( SMESH_Mesh_i* aServant = dynamic_cast<SMESH_Mesh_i*>( GetServant( theMesh ).in() ) )
+ aServant->UpdateStringAttribute();
+
if(MYDEBUG) MESSAGE("PublishMesh_END");
return aMeshSO._retn();
}
if(MYDEBUG) MESSAGE("PublishMesh_END");
return aMeshSO._retn();
}
@@
-749,6
+753,7
@@
SALOMEDS::SObject_ptr
SetName( aHypSO, theName, aHypName );
}
SetName( aHypSO, theName, aHypName );
}
+ // Update string attribute (to display used variables)
if( SMESH_Hypothesis_i* aServant = dynamic_cast<SMESH_Hypothesis_i*>( GetServant( theHyp ).in() ) )
aServant->UpdateStringAttribute();
if( SMESH_Hypothesis_i* aServant = dynamic_cast<SMESH_Hypothesis_i*>( GetServant( theHyp ).in() ) )
aServant->UpdateStringAttribute();