Fix for part of bug #18496: issue with light state switching
when using Dome.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user