Explorar el Código

correctly merged from dev

Fordy hace 10 años
padre
commit
f7434a046d
Se han modificado 2 ficheros con 4 adiciones y 0 borrados
  1. 2 0
      src/core/BufferAttribute.js
  2. 2 0
      src/core/InterleavedBufferAttribute.js

+ 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;

粤ICP备19079148号