瀏覽代碼

GLTFExporter: Changed MIME from application/octet-binary to application/octet-stream

Fernando Serrano 8 年之前
父節點
當前提交
23e84369fe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/exporters/GLTFExporter.js

+ 1 - 1
examples/js/exporters/GLTFExporter.js

@@ -895,7 +895,7 @@ THREE.GLTFExporter.prototype = {
 
 
 		// Generate buffer
 		// Generate buffer
 		// Create a new blob with all the dataviews from the buffers
 		// Create a new blob with all the dataviews from the buffers
-		var blob = new Blob( dataViews, { type: 'application/octet-binary' } );
+		var blob = new Blob( dataViews, { type: 'application/octet-stream' } );
 
 
 		// Update the bytlength of the only main buffer and update the uri with the base64 representation of it
 		// Update the bytlength of the only main buffer and update the uri with the base64 representation of it
 		if ( outputJSON.buffers && outputJSON.buffers.length > 0 ) {
 		if ( outputJSON.buffers && outputJSON.buffers.length > 0 ) {