// find zone
aZone->findPythonReferenceObject( theTreatedObjects, aResList );
theTreatedObjects.insert( aZone->GetName(), aZone );
- // add zone
- setPythonReferenceObject( theTreatedObjects, aResList, aZone, "AddZone" );
+
// set zone merge type
QString aMergeTypeStr;
HYDROData_Zone::MergeAltitudesType aMergeType = aZone->GetMergeType();
.arg( aMergeAltitude->GetObjPyName() );
}
}
+
+ // add zone
+ setPythonReferenceObject( theTreatedObjects, aResList, aZone, "AddZone" );
}
return aResList;