Pārlūkot izejas kodu

Removed isObject3D check

Adam 7 gadi atpakaļ
vecāks
revīzija
26d9aa165e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
 		}