Explorar o código

BufferGeometry: Add comment to toJSON(). (#21464)

Michael Herzog %!s(int64=4) %!d(string=hai) anos
pai
achega
610d5511b1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/core/BufferGeometry.js

+ 2 - 0
src/core/BufferGeometry.js

@@ -910,6 +910,8 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy
 
 
 		}
 		}
 
 
+		// for simplicity the code assumes attributes are not shared across geometries, see #15811
+
 		data.data = { attributes: {} };
 		data.data = { attributes: {} };
 
 
 		const index = this.index;
 		const index = this.index;