Fix for part of bug #18496: issue with light state switching

when using Dome.
This commit is contained in:
2009-04-23 13:30:34 +00:00
parent 0d347e12ea
commit 70f1b45430
5 changed files with 20 additions and 28 deletions

View File

@@ -68,8 +68,8 @@ void KX_BlenderRenderTools::BeginFrame(RAS_IRasterizer* rasty)
{
m_clientobject = NULL;
m_lastlightlayer = -1;
m_lastlighting = false;
m_lastauxinfo = NULL;
m_lastlighting = true; /* force disable in DisableOpenGLLights() */
DisableOpenGLLights();
}