Bläddra i källkod

Merge pull request #754 from Azaezel/zeroLightsMeansZero

requested correction
Daniel Buckmaster 11 år sedan
förälder
incheckning
ae3b726dfc
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Engine/source/lighting/advanced/advancedLightBinManager.cpp

+ 1 - 1
Engine/source/lighting/advanced/advancedLightBinManager.cpp

@@ -243,7 +243,7 @@ void AdvancedLightBinManager::render( SceneRenderState *state )
       return;
       return;
 
 
    // Get the sunlight. If there's no sun, and no lights in the bins, no draw
    // 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() )
    if( !sunLight && mLightBin.empty() )
       return;
       return;