1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0032708: Visualization, V3d_View::SetImmediateUpdate() - deprecate and disable by default implicit View redraws

This commit is contained in:
kgv
2021-12-02 17:02:47 +03:00
parent fec3e2b9f6
commit 0b48d1fa36
17 changed files with 74 additions and 36 deletions

View File

@@ -175,7 +175,6 @@ void GlfwOcctView::initViewer()
aViewer->SetDefaultTypeOfView (V3d_PERSPECTIVE);
aViewer->ActivateGrid (Aspect_GT_Rectangular, Aspect_GDM_Lines);
myView = aViewer->CreateView();
myView->SetImmediateUpdate (false);
myView->SetWindow (myOcctWindow, myOcctWindow->NativeGlContext());
myView->ChangeRenderingParams().ToShowStats = true;
myContext = new AIS_InteractiveContext (aViewer);