Преглед на файлове

Fix forgotten setter in BufferAttribute prototype assignement

Tristan VALCKE преди 8 години
родител
ревизия
aa6cbdd075
променени са 1 файла, в които са добавени 0 реда и са изтрити 6 реда
  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 ) ) {