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
Exlude the user input during process events by application (Bug #325).
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_BathymetryBoundsOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_BathymetryBoundsOp.cxx
b/src/HYDROGUI/HYDROGUI_BathymetryBoundsOp.cxx
index 35540e01961c1191d1df8600daa5c0481e47c450..cf042190c10bbab4b2780124e18143c6ec38c38a 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_BathymetryBoundsOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_BathymetryBoundsOp.cxx
@@
-23,6
+23,7
@@
#include <HYDROGUI_BathymetryBoundsOp.h>
#include <HYDROGUI_Tool.h>
#include <HYDROGUI_UpdateFlags.h>
#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 )
HYDROGUI_BathymetryBoundsOp::HYDROGUI_BathymetryBoundsOp( HYDROGUI_Module* theModule )
: HYDROGUI_Operation( theModule )
@@
-53,8
+54,10
@@
bool HYDROGUI_BathymetryBoundsOp::processApply( int& theUpdateFlags, QString& th
{
bool isOK = myBath->CreateBoundaryPolyline();
theUpdateFlags = 0;
{
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;
else
theErrorMsg = tr( "CANNOT_CREATE_BOUNDARY_POLYLINE" );
return isOK;