Skip to content

Commit

Permalink
remove unnecessary _scene definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksims Mihejevs committed Jul 30, 2015
1 parent 57e5dd7 commit 56b1dd9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/framework/components/light/light_system.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 56b1dd9

Please sign in to comment.