Explorar o código

Removed isObject3D check

Adam %!s(int64=7) %!d(string=hai) anos
pai
achega
26d9aa165e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 		}