浏览代码

CameraNode: Fix missing variable declaration

All in the title
Tristan VALCKE 7 年之前
父节点
当前提交
c4839ca2c4
共有 1 个文件被更改,包括 2 次插入0 次删除
  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: