1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

Correct QAcommand OCC28310 according to changes in CR28088_3

This commit is contained in:
apn 2017-01-19 19:38:41 +03:00
parent 0e9fe060f3
commit 2b73a1d19f

View 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,