Salome HOME
merge master
[modules/hydro.git] / src / HYDROData / HYDROData_CalculationCase.cxx
index aa0d8619a69fb4ce6b373831c12ebbefab538d30..58d15770f88c2b5172aaafee04b51771aede958e 100644 (file)
@@ -1071,6 +1071,11 @@ bool HYDROData_CalculationCase::Export( GEOM::GEOM_Gen_var  theGeomEngine,
     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;
 }