Explorar el Código

Removed isObject3D check

Adam hace 7 años
padre
commit
26d9aa165e
Se han modificado 1 ficheros con 1 adiciones y 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;
 		}