Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: make loadFile in UITexture works correctly #19838

Merged
merged 1 commit into from
Jul 15, 2020
Merged

Conversation

troy351
Copy link
Contributor

@troy351 troy351 commented Jul 14, 2020

  • TGA files may not have type property when load from input, current check logic could fail, check through extension now
    image
  • Should transform file extension into lower case before compare, that current hdr file check could fail
  • Should always clear the texture preview canvas before set new one, because new texture may contains transparency

@troy351 troy351 changed the title Editor: refactor loadFile logic in UITexture Editor: make loadFile in UITexture works correctly Jul 14, 2020
@mrdoob mrdoob added this to the r119 milestone Jul 15, 2020
@mrdoob mrdoob merged commit 8419bf3 into mrdoob:dev Jul 15, 2020
@mrdoob
Copy link
Owner

mrdoob commented Jul 15, 2020

Thanks!

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.

2 participants