Browse Source

Fix Error message in GLTFLoader

Takahiro 7 years ago
parent
commit
006a90682c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/loaders/GLTFLoader.js

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

@@ -1421,7 +1421,7 @@ THREE.GLTFLoader = ( function () {
 
 
 		if ( bufferDef.type && bufferDef.type !== 'arraybuffer' ) {
 		if ( bufferDef.type && bufferDef.type !== 'arraybuffer' ) {
 
 
-			throw new Error( 'THREE.GLTFLoader: %s buffer type is not supported.', bufferDef.type );
+			throw new Error( 'THREE.GLTFLoader: ' + bufferDef.type + ' buffer type is not supported.' );
 
 
 		}
 		}