2
0
Эх сурвалжийг харах

Texture: Removed unused event.

Mr.doob 10 жил өмнө
parent
commit
f593b206ac

+ 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' } );