未验证 提交 3c08ffee 编写于 作者: A Andrew Cherniavskii 提交者: GitHub

[setTexture2D] do not pass `texture` to console

上级 02069687
......@@ -228,11 +228,11 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
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 ) {
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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册