mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0025511: Visualization - drop redundant viewer option V3d_View::Transparency()
Visual3d_ViewManager, activate texturing by default. Update Qt sample
This commit is contained in:
@@ -156,7 +156,6 @@ OpenGl_Workspace::OpenGl_Workspace (const Handle(OpenGl_GraphicDriver)& theDrive
|
||||
myTransientDrawToFront (Standard_True),
|
||||
myBackBufferRestored (Standard_False),
|
||||
myIsImmediateDrawn (Standard_False),
|
||||
myUseTransparency (Standard_False),
|
||||
myUseZBuffer (Standard_False),
|
||||
myUseDepthTest (Standard_True),
|
||||
myUseGLLight (Standard_True),
|
||||
@@ -255,15 +254,6 @@ Standard_Boolean OpenGl_Workspace::Activate()
|
||||
return Standard_True;
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
// function : UseTransparency
|
||||
// purpose : call_togl_transparency
|
||||
// =======================================================================
|
||||
void OpenGl_Workspace::UseTransparency (const Standard_Boolean theFlag)
|
||||
{
|
||||
myUseTransparency = theFlag;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ResetAppliedAspect
|
||||
//purpose : Sets default values of GL parameters in accordance with default aspects
|
||||
|
Reference in New Issue
Block a user