From 56b1dd99cf4e410ceb4a9e147370324c5fe152cc Mon Sep 17 00:00:00 2001 From: Maksims Mihejevs Date: Thu, 30 Jul 2015 18:18:33 +0100 Subject: [PATCH] remove unnecessary _scene definition --- src/framework/components/light/light_system.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/framework/components/light/light_system.js b/src/framework/components/light/light_system.js index 0a87ca1f5ec..e25f25c822d 100644 --- a/src/framework/components/light/light_system.js +++ b/src/framework/components/light/light_system.js @@ -72,7 +72,6 @@ pc.extend(pc, function () { var light = new pc.Light(); light.setType(lightTypes[data.type]); light._node = component.entity; - light._scene = this.app.scene; this.app.scene.addLight(light); component.data.light = light;