浏览代码

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 ) ) {