|
@@ -25,8 +25,6 @@ function BufferAttribute( array, itemSize, normalized ) {
|
|
this.dynamic = false;
|
|
this.dynamic = false;
|
|
this.updateRange = { offset: 0, count: - 1 };
|
|
this.updateRange = { offset: 0, count: - 1 };
|
|
|
|
|
|
- this.onUploadCallback = function () {};
|
|
|
|
-
|
|
|
|
this.version = 0;
|
|
this.version = 0;
|
|
|
|
|
|
}
|
|
}
|
|
@@ -45,6 +43,8 @@ Object.assign( BufferAttribute.prototype, {
|
|
|
|
|
|
isBufferAttribute: true,
|
|
isBufferAttribute: true,
|
|
|
|
|
|
|
|
+ onUploadCallback: function () {},
|
|
|
|
+
|
|
setArray: function ( array ) {
|
|
setArray: function ( array ) {
|
|
|
|
|
|
if ( Array.isArray( array ) ) {
|
|
if ( Array.isArray( array ) ) {
|