Explorar el Código

STLLoader: Clean up.

Mr.doob hace 3 años
padre
commit
34fae0376d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/jsm/loaders/STLLoader.js

+ 1 - 1
examples/jsm/loaders/STLLoader.js

@@ -151,7 +151,7 @@ class STLLoader extends Loader {
 
 			for ( let i = 0, il = query.length; i < il; i ++ ) {
 
-				if ( query[ i ] !== reader.getUint8( offset + i, false ) ) return false;
+				if ( query[ i ] !== reader.getUint8( offset + i ) ) return false;
 
 			}