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

USD fixes #1420

Merged
merged 5 commits into from
Jun 5, 2024
Merged

USD fixes #1420

merged 5 commits into from
Jun 5, 2024

Conversation

johnhaddon
Copy link
Member

This fixes a couple of bugs in USDScene.

We now return a sentinel instead of throwing an exception. This is consistent with our existing handling of types known to `dispatch()` but without a corresponding USD type.
In conjunction with the previous commit, this means that we now gracefully print a warning message for any parameter types we can't write to USD. Prior to this we were throwing a not very helpful exception and not writing anything at all. This came up in production with a GLSL shader with an ImagePlug input in Gaffer, where we pack an entire image into a CompoundData value.
Since 0590bbf, they have been converted to light parameters instead.
@johnhaddon johnhaddon self-assigned this Jun 4, 2024
@danieldresser-ie
Copy link
Contributor

LGTM

@johnhaddon johnhaddon merged commit a5e12c9 into ImageEngine:RB-10.5 Jun 5, 2024
5 checks passed
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