Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #740 (p.1 + p.2)
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ExportCalculationOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_ExportCalculationOp.cxx
b/src/HYDROGUI/HYDROGUI_ExportCalculationOp.cxx
index 4ee707347258db6519a6c85f9041314163de9ccd..93467ea163c0cb457549bfa8ef3c3a4b4a20040f 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ExportCalculationOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_ExportCalculationOp.cxx
@@
-20,7
+20,7
@@
#include "HYDROGUI_DataModel.h"
#include "HYDROGUI_Module.h"
#include "HYDROGUI_DataModel.h"
#include "HYDROGUI_Module.h"
-#include "HYDROGUI_Tool.h"
+#include "HYDROGUI_Tool
2
.h"
#include <HYDROData_CalculationCase.h>
#include <HYDROData_CalculationCase.h>
@@
-84,11
+84,12
@@
bool HYDROGUI_ExportCalculationOp::processApply( int& theUpdateFlags,
dynamic_cast<SalomeApp_Study*>( module()->getApp()->activeStudy() );
// Export
dynamic_cast<SalomeApp_Study*>( module()->getApp()->activeStudy() );
// Export
+ QString anErrorMsg;
if ( aStudy ) {
SALOMEDS::Study_var aDSStudy = GeometryGUI::ClientStudyToStudy( aStudy->studyDS() );
GEOM::GEOM_Gen_var aGeomEngine = GeometryGUI::GetGeomGen();
QString anEntry;
if ( aStudy ) {
SALOMEDS::Study_var aDSStudy = GeometryGUI::ClientStudyToStudy( aStudy->studyDS() );
GEOM::GEOM_Gen_var aGeomEngine = GeometryGUI::GetGeomGen();
QString anEntry;
- if ( aCalculation->Export( aGeomEngine, aDSStudy, anEntry ) ) {
+ if ( aCalculation->Export( aGeomEngine, aDSStudy, anEntry
, theErrorMsg
) ) {
theUpdateFlags = UF_ObjBrowser;
isOk = true;
}
theUpdateFlags = UF_ObjBrowser;
isOk = true;
}