Salome HOME
trying to fix selection mecanism in OCC Viewer: Selection is OK, but broken after...
[modules/hydro.git] / src / HYDRO_tests / TestViewer.cxx
index c4219ae2d51167a9176153074562f0afa1fe441e..c350a2198a27881c2ff92cca78779ccf5178985b 100644 (file)
@@ -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 );
   }