Jelajahi Sumber

CameraNode: Fix missing variable declaration

All in the title
Tristan VALCKE 7 tahun lalu
induk
melakukan
c4839ca2c4
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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: