mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 01:58:36 +05:00
Set actual study name to GEOM_Object after the publishing.
This commit is contained in:
parent
10e60380a9
commit
468a2189df
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user