Преглед на файлове

Editor: Turn on forcePowerOfTwoTexture option of GLTFExporter for FB 3D Post

Takahiro преди 7 години
родител
ревизия
b2753c00d2
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      editor/js/Menubar.File.js

+ 3 - 3
editor/js/Menubar.File.js

@@ -197,9 +197,9 @@ Menubar.File = function ( editor ) {
 
 			saveArrayBuffer( result, 'scene.glb' );
 
-			// forceIndices: true to allow compatibility with facebook
-			// https://github.com/mrdoob/three.js/issues/13397
-		}, { binary: true, forceIndices: true } );
+			// forceIndices: true, forcePowerOfTwoTexture: true
+			// to allow compatibility with facebook
+		}, { binary: true, forceIndices: true, forcePowerOfTwoTexture: true } );
 		
 	} );
 	options.add( option );