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

Check for missing textures and unassigned shader nodes #559

Merged
merged 4 commits into from Aug 3, 2019

Conversation

emackey
Copy link
Member

@emackey emackey commented Jun 20, 2019

We were already printing a warning message, but then crashed. This should protect against the crashes.

Also, added a new test scene that has a missing PNG file and an Image Texture shader node that is not assigned an image. No specific test code is needed, we just allow the normal test suite functionality to test whether this crashes on export (which would fail the test).

Fixes #345, fixes #543 ... like a palindrome

@emackey
Copy link
Member Author

emackey commented Jul 11, 2019

@julienduroure This is ready to merge, it's just some guards against None values. Any chance it can go into RC1 or RC2?

@donmccurdy
Copy link
Contributor

I'm assuming this will need to go into 2.81 at this point, but the changes look good to me.

@julienduroure julienduroure merged commit d8d1284 into master Aug 3, 2019
@julienduroure julienduroure deleted the image-lacks-data branch August 3, 2019 04:59
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.

T65622: Traceback when exporting Material export error (parrot model)
3 participants