Salome HOME
debug of tests for DTM
[modules/hydro.git] / src / HYDROData / HYDROData_ImmersibleZone.cxx
index b6a469548e6613f4d819af159487ff9e0c64aee3..c456c8c9ce85f6629307e9871af9959abc47eadb 100644 (file)
@@ -77,6 +77,11 @@ QStringList HYDROData_ImmersibleZone::DumpToPython( const QString& thePyScriptPa
   Handle(HYDROData_PolylineXY) aRefPolyline = GetPolyline();
   setPythonReferenceObject( thePyScriptPath, theTreatedObjects, aResList, aRefPolyline, "SetPolyline" );
 
+  if (!this->IsSubmersible())
+    {
+      aResList << QString( "%1.SetIsSubmersible(False)" ).arg( aZoneName );
+    }
+
   aResList << QString( "" );
 
   aResList << QString( "%1.Update()" ).arg( aZoneName );