Skip to content

Commit 7fecc50

Browse files
committed
WebGLRenderer: Reverted .complete check. It actually saves data:* images...
1 parent ded588f commit 7fecc50

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/renderers/WebGLRenderer.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2838,17 +2838,15 @@ THREE.WebGLRenderer = function ( parameters ) {
28382838

28392839
}
28402840

2841-
/*
28422841
if ( image.complete === false ) {
28432842

28442843
console.warn( 'THREE.WebGLRenderer: Texture marked for update but image is incomplete', texture );
28452844
return;
28462845

28472846
}
2848-
*/
28492847

28502848
uploadTexture( textureProperties, texture, slot );
2851-
2849+
28522850
return;
28532851

28542852
}

0 commit comments

Comments
 (0)