2
0
Эх сурвалжийг харах

correctly merged from dev

Fordy 10 жил өмнө
parent
commit
f7434a046d

+ 2 - 0
src/core/BufferAttribute.js

@@ -4,6 +4,8 @@
 
 THREE.BufferAttribute = function ( array, itemSize ) {
 
+	this.uuid = THREE.Math.generateUUID();
+
 	this.array = array;
 	this.itemSize = itemSize;
 

+ 2 - 0
src/core/InterleavedBufferAttribute.js

@@ -4,6 +4,8 @@
 
 THREE.InterleavedBufferAttribute = function ( interleavedBuffer, itemSize, offset ) {
 
+	this.uuid = THREE.Math.generateUUID();
+
 	this.data = interleavedBuffer;
 	this.itemSize = itemSize;
 	this.offset = offset;