소스 검색

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 ) {
 
-		if ( target === undefined || !target.isObject3D ) {
+		if ( target === undefined ) {
 			return;
 		}