mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 22:10:36 +00:00
Merge pull request #1006 from BeamNG/fix_lighting_with_zero_lights
Fix lighting errors when all lights are disabled.
This commit is contained in:
commit
baf594aee7
1 changed files with 0 additions and 3 deletions
|
|
@ -244,9 +244,6 @@ void AdvancedLightBinManager::render( SceneRenderState *state )
|
|||
|
||||
// Get the sunlight. If there's no sun, and no lights in the bins, no draw
|
||||
LightInfo *sunLight = mLightManager->getSpecialLight( LightManager::slSunLightType, false );
|
||||
if( !sunLight && mLightBin.empty() )
|
||||
return;
|
||||
|
||||
GFXDEBUGEVENT_SCOPE( AdvancedLightBinManager_Render, ColorI::RED );
|
||||
|
||||
// Tell the superclass we're about to render
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue