From 9e404b3707c8787da35e74f5b9427fd2c5ff44d4 Mon Sep 17 00:00:00 2001 From: Azaezel Date: Thu, 14 Aug 2014 21:46:48 -0500 Subject: [PATCH] kills off the presence of a fake light when there are no others in a given scene --- Engine/source/lighting/advanced/advancedLightBinManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/lighting/advanced/advancedLightBinManager.cpp b/Engine/source/lighting/advanced/advancedLightBinManager.cpp index d8620e856..c90d18bac 100644 --- a/Engine/source/lighting/advanced/advancedLightBinManager.cpp +++ b/Engine/source/lighting/advanced/advancedLightBinManager.cpp @@ -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;