]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Set actual study name to GEOM_Object after the publishing.
authorjfa <jfa@opencascade.com>
Wed, 22 Jun 2011 09:13:27 +0000 (09:13 +0000)
committerjfa <jfa@opencascade.com>
Wed, 22 Jun 2011 09:13:27 +0000 (09:13 +0000)
src/GEOM_I/GEOM_Gen_i.cc

index 89330755d260b805170ba845eb22df230d33c0f6..b439d88772aafbaf72f572cfc4c9796d494d6ff4 100644 (file)
@@ -345,7 +345,7 @@ SALOMEDS::SObject_ptr GEOM_Gen_i::PublishInStudy(SALOMEDS::Study_ptr theStudy,
   aFather->UnRegister();
 
   //Set a name of the GEOM object
-  aShape->SetName(theName);
+  aShape->SetName(aShapeName.ToCString());
 
   return aResultSO._retn();
 }