From 468a2189dfd5016b7540d858245f8e018007c198 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 22 Jun 2011 09:13:27 +0000 Subject: [PATCH] Set actual study name to GEOM_Object after the publishing. --- src/GEOM_I/GEOM_Gen_i.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }