Parcourir la source

WebGLRenderer: Commented out .complete check as it collides with data:* images.

Mr.doob il y a 10 ans
Parent
commit
9381d729d8
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/renderers/WebGLRenderer.js

+ 3 - 0
src/renderers/WebGLRenderer.js

@@ -2838,14 +2838,17 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 			}
 
+			/*
 			if ( image.complete === false ) {
 
 				console.warn( 'THREE.WebGLRenderer: Texture marked for update but image is incomplete', texture );
 				return;
 
 			}
+			*/
 
 			uploadTexture( textureProperties, texture, slot );
+
 			return;
 
 		}