Salome HOME
Dump to python corrected.
[modules/hydro.git] / src / HYDROData / HYDROData_Zone.cxx
index 4d96a6493ecf801c2b4cc122f8f6a08cd109bfed..d9789f00fca254fa0d74c655589531ad7a4d5f89 100644 (file)
@@ -44,7 +44,7 @@ QStringList HYDROData_Zone::DumpToPython( MapOfTreatedObjects& theTreatedObjects
 
   // How can we get the shape? Mb Update() method to intersect the shapes of reference objects?
   // TODO:  TopoDS_Shape aRefShape = GetShape();
-  QString aName = GetName();
+  QString aName = GetObjPyName();
   aResList << QString( "" );
   aResList << QString( "%1.Update();" ).arg( aName );
   aResList << QString( "" );