Sfoglia il codice sorgente

CameraNode: Fix missing variable declaration

All in the title
Tristan VALCKE 7 anni fa
parent
commit
c4839ca2c4
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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: