Set actual study name to GEOM_Object after the publishing.

This commit is contained in:
jfa 2011-06-22 09:13:27 +00:00
parent 10e60380a9
commit 468a2189df

View 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();
}