Browse Source

texture.onUpdated() should be texture.onUpdate(). Fixes #1347.

Mr.doob 13 years ago
parent
commit
2a18c4c909
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/renderers/WebGLRenderer.js

+ 2 - 2
src/renderers/WebGLRenderer.js

@@ -5592,7 +5592,7 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 			texture.needsUpdate = false;
 
-			if ( texture.onUpdated ) texture.onUpdated();
+			if ( texture.onUpdate ) texture.onUpdate();
 
 		} else {
 
@@ -5677,7 +5677,7 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 				texture.needsUpdate = false;
 
-				if ( texture.onUpdated ) texture.onUpdated();
+				if ( texture.onUpdate ) texture.onUpdate();
 
 			} else {