X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_Gen_i_1.cxx;h=2441aa14c69c31f570f5d1778631f8d3435121a0;hp=c3123b3f5a79293b2f7b5fd0c563799bbdb73615;hb=333415e6c9f744a167d1779d9e74e073f122e88c;hpb=e5ed5aa5ac8420179aa37e3bf3a175e22ef3f69a diff --git a/src/SMESH_I/SMESH_Gen_i_1.cxx b/src/SMESH_I/SMESH_Gen_i_1.cxx index c3123b3f5..2441aa14c 100644 --- 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( GetServant( theMesh ).in() ) ) + aServant->UpdateStringAttribute(); + if(MYDEBUG) MESSAGE("PublishMesh_END"); return aMeshSO._retn(); } @@ -749,6 +753,7 @@ SALOMEDS::SObject_ptr SetName( aHypSO, theName, aHypName ); } + // Update string attribute (to display used variables) if( SMESH_Hypothesis_i* aServant = dynamic_cast( GetServant( theHyp ).in() ) ) aServant->UpdateStringAttribute();