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
Fix for the bug #255: VTK viewer is not updated after modification of objects.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_StreamOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_StreamOp.cxx
b/src/HYDROGUI/HYDROGUI_StreamOp.cxx
index 822175bea726c700120df58211018fe62b41b9a6..bd7085f4efd7aa086b947998ae6fbd69c69bdfdb 100755
(executable)
--- a/
src/HYDROGUI/HYDROGUI_StreamOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_StreamOp.cxx
@@
-188,8
+188,10
@@
bool HYDROGUI_StreamOp::processApply( int& theUpdateFlags,
module()->setObjectVisible( HYDROGUI_Tool::GetActiveOCCViewId( module() ), myEditedObject, true );
}
module()->setObjectVisible( HYDROGUI_Tool::GetActiveOCCViewId( module() ), myEditedObject, true );
}
+ module()->setIsToUpdate( myEditedObject );
+
// Set update flags
// Set update flags
- theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced;
+ theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced
| UF_VTKViewer
;
return true;
}
return true;
}