1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0025775: "Default Gradient Backgound" in V3d_Viewer has no effect in new created V3d_View.

Complete the fix: add gradient background in second variant of V3d_View::SetWindow()
This commit is contained in:
abv 2015-08-25 11:17:18 +03:00 committed by ski
parent 8da8f3d2c5
commit ba38396ea1

View File

@ -326,6 +326,7 @@ void V3d_View::SetWindow(const Handle(Aspect_Window)& aWindow,
MyView->SetWindow(aWindow, aContext, aDisplayCB, aClientData) ;
MyView->SetContext(MyViewContext) ;
MyView->SetBackground(MyBackground) ;
MyView->SetGradientBackground (MyGradientBackground, Standard_False);
MyViewer->SetViewOn(this) ;
MyView->Redraw() ;
}