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:
@@ -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() ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user