Selaa lähdekoodia

Fix a bug in GLTFExporter

Takahiro 7 vuotta sitten
vanhempi
sitoutus
c191afb0e1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      examples/js/exporters/GLTFExporter.js

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

@@ -1377,7 +1377,7 @@ THREE.GLTFExporter.prototype = {
 
 					var key = getUID( geometry.index );
 
-					if ( groups[ i ].start !== undefined || groups[ i ] !== undefined ) {
+					if ( groups[ i ].start !== undefined || groups[ i ].count !== undefined ) {
 
 						key += ':' + groups[ i ].start + ':' + groups[ i ].count;
 

粤ICP备19079148号