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

0027972: Visualization - remove unused and not implemented property V3d_View::EnableGLLight()

This commit is contained in:
kgv
2016-10-17 17:39:30 +03:00
committed by apn
parent df18769ea6
commit ebc369da1d
10 changed files with 18 additions and 117 deletions

View File

@@ -1123,7 +1123,6 @@ void Graphic3d_CView::CopySettings (const Handle(Graphic3d_CView)& theOther)
SetShadingModel (theOther->ShadingModel());
SetBackfacingModel (theOther->BackfacingModel());
SetCamera (new Graphic3d_Camera (theOther->Camera()));
SetGLLightEnabled (theOther->IsGLLightEnabled());
SetLights (theOther->Lights());
SetClipPlanes (theOther->ClipPlanes());
}

View File

@@ -420,12 +420,6 @@ public:
//! Sets camera used by the view.
virtual void SetCamera (const Handle(Graphic3d_Camera)& theCamera) = 0;
//! Returns true if GL lighting is enabled.
virtual Standard_Boolean IsGLLightEnabled() const = 0;
//! Sets GL lighting enabled or disable state.
virtual void SetGLLightEnabled (const Standard_Boolean theIsEnabled) = 0;
//! Returns list of lights of the view.
virtual const Graphic3d_ListOfCLight& Lights() const = 0;