Преглед изворни кода

Fix secondary missing variable declaration

Tristan VALCKE пре 7 година
родитељ
комит
696c849f33
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      examples/js/nodes/accessors/CameraNode.js

+ 1 - 0
examples/js/nodes/accessors/CameraNode.js

@@ -140,6 +140,7 @@ THREE.CameraNode.prototype.updateFrame = function( delta ) {
 
 		case THREE.CameraNode.DEPTH:
 
+			var camera = this.camera
 			this.near.number = camera.near;
 			this.far.number = camera.far;