Correct QAcommand OCC28310 according to changes in CR28088_3 IR-2017-01-19
authorapn <apn@opencascade.com>
Thu, 19 Jan 2017 16:38:41 +0000 (19:38 +0300)
committerapn <apn@opencascade.com>
Thu, 19 Jan 2017 16:38:41 +0000 (19:38 +0300)
src/QABugs/QABugs_19.cxx

index ac2e420..36fff1f 100644 (file)
@@ -5376,8 +5376,8 @@ static Standard_Integer OCC28310 (Draw_Interpretor& /*theDI*/, Standard_Integer
   Handle(AIS_InteractiveObject) aBoxObj = new AIS_Shape (aBox);
   aCtx->Display (aBoxObj, AIS_Shaded, 0, Standard_False);
   ViewerTest::CurrentView()->FitAll();
-  aCtx->MoveTo (200, 200, ViewerTest::CurrentView());
-  aCtx->Select();
+  aCtx->MoveTo (200, 200, ViewerTest::CurrentView(), Standard_True);
+  aCtx->Select(Standard_True);
 
   aCtx->Remove (aBoxObj, Standard_True);
   // nullify the object explicitly to simulate situation in project,