Stéphane GINIER 1 год назад
Родитель
Сommit
dd7e7b7e89
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      examples/jsm/loaders/GLTFLoader.js

+ 5 - 0
examples/jsm/loaders/GLTFLoader.js

@@ -3153,6 +3153,9 @@ class GLTFParser {
 
 
 				}
 				}
 
 
+				// Ignore normalized since we copy from sparse
+				bufferAttribute.normalized = false;
+
 				for ( let i = 0, il = sparseIndices.length; i < il; i ++ ) {
 				for ( let i = 0, il = sparseIndices.length; i < il; i ++ ) {
 
 
 					const index = sparseIndices[ i ];
 					const index = sparseIndices[ i ];
@@ -3165,6 +3168,8 @@ class GLTFParser {
 
 
 				}
 				}
 
 
+				bufferAttribute.normalized = normalized;
+
 			}
 			}
 
 
 			return bufferAttribute;
 			return bufferAttribute;

粤ICP备19079148号