Pārlūkot izejas kodu

Texture: Removed unused event.

Mr.doob 10 gadi atpakaļ
vecāks
revīzija
f593b206ac
1 mainītis faili ar 0 papildinājumiem un 7 dzēšanām
  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' } );