From 37ccd66fccb7af56d2e490cceed59adf5bff470d Mon Sep 17 00:00:00 2001 From: mzn Date: Tue, 28 Oct 2014 13:10:11 +0000 Subject: [PATCH] Bug #480: minor corrections. --- src/HYDROData/HYDROData_Region.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/HYDROData/HYDROData_Region.cxx b/src/HYDROData/HYDROData_Region.cxx index aca81aeb..45d7b9e7 100644 --- a/src/HYDROData/HYDROData_Region.cxx +++ b/src/HYDROData/HYDROData_Region.cxx @@ -392,8 +392,7 @@ QStringList HYDROData_Region::DumpToPython( MapOfTreatedObjects& theTreatedObjec // 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(); @@ -416,6 +415,9 @@ QStringList HYDROData_Region::DumpToPython( MapOfTreatedObjects& theTreatedObjec .arg( aMergeAltitude->GetObjPyName() ); } } + + // add zone + setPythonReferenceObject( theTreatedObjects, aResList, aZone, "AddZone" ); } return aResList; -- 2.39.2