Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Mar 4, 2019

Fixed #15885 and also makes the test more robust. Even resizing a data texture should not produce a runtime error in Safari anymore.

@merwaaan
Copy link
Contributor

merwaaan commented Mar 4, 2019

I'm afraid this would break support for web workers that was added a few days ago.

See #15885 (comment)

Edit: didnt see your second commit, looks good!

@Mugen87 Mugen87 changed the title WebGLTextures: Restore order in if-statement. WebGLTextures: Make resizeImage() more robust. Mar 4, 2019
@mrdoob mrdoob added this to the r103 milestone Mar 5, 2019
@mrdoob mrdoob merged commit a2e1493 into mrdoob:dev Mar 5, 2019
@mrdoob
Copy link
Owner

mrdoob commented Mar 5, 2019

Thanks!

@mrdoob
Copy link
Owner

mrdoob commented Mar 5, 2019

@Mugen87 @WestLangley I guess we would have caught this regression if we hadn't fixed all the examples that were throwing warnings 😅

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Mar 5, 2019

Yes, probably. But we still have this one 😇: https://threejs.org/examples/webgl_loader_sea3d_morph

I wonder if we could write a unit test for this...

@gen4sp gen4sp mentioned this pull request May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants