Explorar o código

GLTFLoader: isObjectURL is a boolean. Thanks @stevesan!

Mr.doob %!s(int64=7) %!d(string=hai) anos
pai
achega
7f9410223d
Modificáronse 1 ficheiros con 1 adicións e 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 );