Parcourir la source

Add missing default 'binary' option to GLTFLoader

Garrett Johnson il y a 7 ans
Parent
commit
869cd160f5
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      examples/js/exporters/GLTFExporter.js

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

@@ -66,6 +66,7 @@ THREE.GLTFExporter.prototype = {
 	parse: function ( input, onDone, options ) {
 	parse: function ( input, onDone, options ) {
 
 
 		var DEFAULT_OPTIONS = {
 		var DEFAULT_OPTIONS = {
+			binary: false,
 			trs: false,
 			trs: false,
 			onlyVisible: true,
 			onlyVisible: true,
 			truncateDrawRange: true,
 			truncateDrawRange: true,

粤ICP备19079148号