Merge pull request #754 from Azaezel/zeroLightsMeansZero

requested correction
This commit is contained in:
Daniel Buckmaster 2014-09-13 10:57:12 +10:00
commit ae3b726dfc

View file

@ -243,7 +243,7 @@ void AdvancedLightBinManager::render( SceneRenderState *state )
return;
// Get the sunlight. If there's no sun, and no lights in the bins, no draw
LightInfo *sunLight = mLightManager->getSpecialLight( LightManager::slSunLightType );
LightInfo *sunLight = mLightManager->getSpecialLight( LightManager::slSunLightType, false );
if( !sunLight && mLightBin.empty() )
return;