Salome HOME
Refs #288 - the profile section selected and addition mode is activated
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportProfilesOp.cxx
index e41732b2fa0eced39bb63ebd4f2916990ebbf5ba..10f162361a358fd7a9cd9263c298aa2de660e561 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "HYDROGUI_DataModel.h"
 #include "HYDROGUI_Module.h"
+#include "HYDROGUI_UpdateFlags.h"
 
 #include <HYDROData_Profile.h>
 
@@ -88,7 +89,7 @@ bool HYDROGUI_ImportProfilesOp::processApply( int& theUpdateFlags,
     abort();
   }
 
-  theUpdateFlags = UF_Model;
+  theUpdateFlags = UF_Model | UF_VTKViewer | UF_VTK_Forced | UF_VTK_Init;
 
   return aRes;
 }