Răsfoiți Sursa

[setTexture2D] do not pass `texture` to console

Andrew Cherniavskii 7 ani în urmă
părinte
comite
3c08ffeeab
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/renderers/webgl/WebGLTextures.js

+ 2 - 2
src/renderers/webgl/WebGLTextures.js

@@ -228,11 +228,11 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 
 
 			if ( image === undefined ) {
 			if ( image === undefined ) {
 
 
-				console.warn( 'THREE.WebGLRenderer: Texture marked for update but image is undefined', texture );
+				console.warn( 'THREE.WebGLRenderer: Texture marked for update but image is undefined' );
 
 
 			} else if ( image.complete === false ) {
 			} else if ( image.complete === false ) {
 
 
-				console.warn( 'THREE.WebGLRenderer: Texture marked for update but image is incomplete', texture );
+				console.warn( 'THREE.WebGLRenderer: Texture marked for update but image is incomplete' );
 
 
 			} else {
 			} else {