mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
Merge branch 'master' of https://github.com/photonstorm/phaser
This commit is contained in:
commit
a005e076fa
1 changed files with 5 additions and 0 deletions
|
@ -73,6 +73,11 @@ var ForwardDiffuseLightPipeline = new Class({
|
|||
{
|
||||
var lightManager = scene.lights;
|
||||
|
||||
if (!lightManager)
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
lightManager.culledLights.length = 0;
|
||||
|
||||
if (lightManager.lights.length <= 0 || !lightManager.active)
|
||||
|
|
Loading…
Reference in a new issue