Răsfoiți Sursa

Fix forgotten setter in BufferAttribute prototype assignement

Tristan VALCKE 8 ani în urmă
părinte
comite
aa6cbdd075
1 a modificat fișierele cu 0 adăugiri și 6 ștergeri
  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 ) ) {