Browse Source

Fix forgotten setter in BufferAttribute prototype assignement

Tristan VALCKE 8 năm trước cách đây
mục cha
commit
aa6cbdd075
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      src/core/BufferAttribute.js

+ 0 - 6
src/core/BufferAttribute.js

@@ -48,12 +48,6 @@ Object.assign( BufferAttribute.prototype, {
 
 	isBufferAttribute: true,
 
-	set needsUpdate( value ) {
-
-		if ( value === true ) this.version ++;
-
-	},
-
 	setArray: function ( array ) {
 
 		if ( Array.isArray( array ) ) {