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
trying to fix selection mecanism in OCC Viewer: Selection is OK, but broken after...
[modules/hydro.git]
/
src
/
HYDRO_tests
/
TestViewer.cxx
diff --git
a/src/HYDRO_tests/TestViewer.cxx
b/src/HYDRO_tests/TestViewer.cxx
index c4219ae2d51167a9176153074562f0afa1fe441e..c350a2198a27881c2ff92cca78779ccf5178985b 100644
(file)
--- a/
src/HYDRO_tests/TestViewer.cxx
+++ b/
src/HYDRO_tests/TestViewer.cxx
@@
-152,7
+152,7
@@
void TestViewer::show( const Handle(AIS_InteractiveObject)& theObject,
if( theSelectionMode > 0 )
{
-
//context()->
OpenLocalContext();
+
context()->Deactivate(); //
OpenLocalContext();
context()->Display( theObject, theMode, theSelectionMode, true );
context()->Activate( theObject, theSelectionMode, Standard_True );
}