Browse Source

CameraNode: Fix missing variable declaration

All in the title
Tristan VALCKE 7 years ago
parent
commit
c4839ca2c4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      examples/js/nodes/accessors/CameraNode.js

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

@@ -52,6 +52,8 @@ THREE.CameraNode.prototype.setScope = function( scope ) {
 	this.scope = scope;
 
 	switch ( scope ) {
+			
+		var camera = this.camera
 
 		case THREE.CameraNode.DEPTH: