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:
parent
8da8f3d2c5
commit
ba38396ea1
@ -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() ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user