]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH...
authoreap <eap@opencascade.com>
Wed, 7 Mar 2012 14:59:11 +0000 (14:59 +0000)
committereap <eap@opencascade.com>
Wed, 7 Mar 2012 14:59:11 +0000 (14:59 +0000)
 void SMESH_Mesh_i::SetParameters(const char* theParameters)
 {
-  SMESH_Gen_i::GetSMESHGen()->UpdateParameters(SMESH::SMESH_Mesh::_narrow(_this()),
-                                               CORBA::string_dup(theParameters));
+  SMESH_Gen_i::GetSMESHGen()->UpdateParameters(theParameters);

src/SMESH_I/SMESH_Mesh_i.cxx

index 0217d3a6a236cf7ac4beed8fe2b0a87f7a624e9e..8f3055786a5debfdef756a5d5b96b25b702f85ce 100644 (file)
@@ -4200,8 +4200,9 @@ void SMESH_Mesh_i::checkGroupNames()
 //=============================================================================
 void SMESH_Mesh_i::SetParameters(const char* theParameters)
 {
-  SMESH_Gen_i::GetSMESHGen()->UpdateParameters(SMESH::SMESH_Mesh::_narrow(_this()),
-                                               CORBA::string_dup(theParameters));
+  // SMESH_Gen_i::GetSMESHGen()->UpdateParameters(SMESH::SMESH_Mesh::_narrow(_this()),
+  //                                              CORBA::string_dup(theParameters));
+  SMESH_Gen_i::GetSMESHGen()->UpdateParameters(theParameters);
 }
 
 //=============================================================================