Sfoglia il codice sorgente

Fix forgotten setter in BufferAttribute prototype assignement

Tristan VALCKE 8 anni fa
parent
commit
aa6cbdd075
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  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 ) ) {