0024322: TKOpenGl - light sources management inconsistency
authorduv <duv@opencascade.com>
Wed, 13 Nov 2013 17:07:32 +0000 (21:07 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 14 Nov 2013 08:53:09 +0000 (12:53 +0400)
commit4fe9ad57df8922e43e7a3efa3f3fd6111d7a639d
tree8c431f5b6446baa0e3cfa820fe00a3389157ad0f
parent79d580f2eaaf326daabf4e1099afc0b978f70215
0024322: TKOpenGl - light sources management inconsistency

Fixed pipeline - accumulate all ambient light sources.

Fix clearing of all light sources.
src/OpenGl/OpenGl_ShaderManager.cxx
src/OpenGl/OpenGl_ShaderProgram.cxx
src/OpenGl/OpenGl_ShaderProgram.hxx
src/OpenGl/OpenGl_View_2.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
src/Visual3d/Visual3d_Light.cdl
src/Visual3d/Visual3d_Light.cxx
src/Visual3d/Visual3d_View.cxx
tests/v3d/glsl/light_off [new file with mode: 0644]