QStringList HYDROData_Image::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
{
- QStringList aResList = HYDROData_Entity::DumpToPython( theTreatedObjects );
- QString anImageName = GetName();
+ QStringList aResList = dumpObjectCreation( theTreatedObjects );
+ QString anImageName = GetObjPyName();
QString aFilePath = GetFilePath();
if ( !aFilePath.isEmpty() )
aResList << QString( "%1.Update();" ).arg( anImageName );
}
+ aResList << QString( "" );
+
return aResList;
}