Salome HOME
Debug
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i_1.cxx
index 2441aa14c69c31f570f5d1778631f8d3435121a0..b86e9e5c1bd7f27ca1038bed74ac99835ce0387a 100644 (file)
@@ -561,8 +561,9 @@ 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();
+  // Temporarily commented (see implementation of SMESH_Mesh_i::UpdateStringAttribute())
+  //if( SMESH_Mesh_i* aServant = dynamic_cast<SMESH_Mesh_i*>( GetServant( theMesh ).in() ) )
+  //  aServant->UpdateStringAttribute();
 
   if(MYDEBUG) MESSAGE("PublishMesh_END");
   return aMeshSO._retn();