浏览代码

Removed isObject3D check

Adam 7 年之前
父节点
当前提交
26d9aa165e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/controls/EditorControls.js

+ 1 - 1
examples/js/controls/EditorControls.js

@@ -37,7 +37,7 @@ THREE.EditorControls = function ( object, domElement ) {
 
 
 	this.focus = function ( target ) {
 	this.focus = function ( target ) {
 
 
-		if ( target === undefined || !target.isObject3D ) {
+		if ( target === undefined ) {
 			return;
 			return;
 		}
 		}