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

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

Mr.doob 13 жил өмнө
parent
commit
2a18c4c909

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