Bug IPAL8738. Fix DumpPython in SetName()

This commit is contained in:
eap 2005-05-06 07:08:27 +00:00
parent 107c7b6d4b
commit cfb5bbf72e

View File

@ -122,7 +122,7 @@ void SMESH_GroupBase_i::SetName( const char* theName )
// Update Python script
TCollection_AsciiString aStr, aStrName ((char*)theName);
SMESH_Gen_i::AddObject(aStr, _this()) += ".SetName(\"";
aStr += aStrName + ")";
aStr += aStrName + "\")";
SMESH_Gen_i::AddToCurrentPyScript(aStr);