Explorar o código

Fix forgotten setter in BufferAttribute prototype assignement

Tristan VALCKE %!s(int64=8) %!d(string=hai) anos
pai
achega
aa6cbdd075
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  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 ) ) {