Explorar el Código

GLTFLoader: isObjectURL is a boolean. Thanks @stevesan!

Mr.doob hace 8 años
padre
commit
7f9410223d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/js/loaders/GLTFLoader.js

+ 1 - 1
examples/js/loaders/GLTFLoader.js

@@ -1467,7 +1467,7 @@ THREE.GLTFLoader = ( function () {
 
 			// Clean up resources and configure Texture.
 
-			if ( isObjectURL !== undefined ) {
+			if ( isObjectURL === true ) {
 
 				URL.revokeObjectURL( sourceURI );