QString aGeomObjEntry, anErrorMsg;
bool isOK = Export( aGEOMEngine, aDSStudy, aGeomObjEntry, anErrorMsg );
- if( isOK && !GetLandCoverMap().IsNull() && !GetStricklerTable().IsNull() )
- {
- QString aTelemacFileName = GetName() + ".telemac";
- isOK = GetLandCoverMap()->ExportTelemac( aTelemacFileName, 1E-2, GetStricklerTable() );
- }
-
-
return isOK ? aGeomObjEntry : QString();
#endif
}
aRes = Export( theGeomEngine, theStudy, aFaces, aSeqOfGroupsDefs, theGeomObjEntry );;
}
+ if( aRes && !GetLandCoverMap().IsNull() && !GetStricklerTable().IsNull() )
+ {
+ QString aTelemacFileName = GetName() + ".telemac";
+ aRes = GetLandCoverMap()->ExportTelemac( aTelemacFileName, 1E-2, GetStricklerTable() );
+ }
return aRes;
}