1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

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

This commit is contained in:
apl
2015-07-21 21:29:09 +03:00
committed by bugmaster
parent 72080ae11f
commit f42753ed03
3 changed files with 94 additions and 4 deletions

View File

@@ -308,6 +308,7 @@ void V3d_View::SetWindow(const Handle(Aspect_Window)& TheWindow)
// SetWindow carries out SetRatio and modifies
MyView->SetContext(MyViewContext) ;
MyView->SetBackground(MyBackground) ;
MyView->SetGradientBackground (MyGradientBackground, Standard_False);
MyViewer->SetViewOn(this) ;
MyView->Redraw() ;
}