#include <HYDROGUI_BathymetryBoundsOp.h>
#include <HYDROGUI_Tool.h>
#include <HYDROGUI_UpdateFlags.h>
+#include <HYDROGUI_Module.h>
HYDROGUI_BathymetryBoundsOp::HYDROGUI_BathymetryBoundsOp( HYDROGUI_Module* theModule )
: HYDROGUI_Operation( theModule )
{
bool isOK = myBath->CreateBoundaryPolyline();
theUpdateFlags = 0;
- if( isOK )
- theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced;
+ if( isOK ) {
+ module()->setIsToUpdate( myBath );
+ theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer;
+ }
else
theErrorMsg = tr( "CANNOT_CREATE_BOUNDARY_POLYLINE" );
return isOK;