浏览代码

Texture: Removed unused event.

Mr.doob 10 年之前
父节点
当前提交
f593b206ac
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      src/textures/Texture.js

+ 0 - 7
src/textures/Texture.js

@@ -54,7 +54,6 @@ THREE.Texture.prototype = {
 		if ( value === true ) {
 
 			this.version ++;
-			this.update();
 
 		}
 
@@ -182,12 +181,6 @@ THREE.Texture.prototype = {
 
 	},
 
-	update: function () {
-
-		this.dispatchEvent( { type: 'update' } );
-
-	},
-
 	dispose: function () {
 
 		this.dispatchEvent( { type: 'dispose' } );