From: jfa Date: Wed, 22 Jun 2011 09:13:27 +0000 (+0000) Subject: Set actual study name to GEOM_Object after the publishing. X-Git-Tag: Before_opencv_branch_20110913~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=468a2189dfd5016b7540d858245f8e018007c198;p=modules%2Fgeom.git Set actual study name to GEOM_Object after the publishing. --- diff --git a/src/GEOM_I/GEOM_Gen_i.cc b/src/GEOM_I/GEOM_Gen_i.cc index 89330755d..b439d8877 100644 --- a/src/GEOM_I/GEOM_Gen_i.cc +++ b/src/GEOM_I/GEOM_Gen_i.cc @@ -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(); }