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 VolumeAlgo : Fix crash loading empty field #1435

Merged
merged 1 commit into from
Sep 18, 2024

Commits on Sep 18, 2024

  1. USD VolumeAlgo : Fix crash loading empty field

    If an attribute has no value, `DataAlgo::fromUSD()` returns `nullptr`, and we were dereferencing it. We could probably still use a `static_cast` here as long as we checked for null, since we don't expect anything but StringData when non-null. But since I failed to predict this outcome, I've gone belt-and-braces and used a `runTimeCast()`.
    johnhaddon committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    97c19f0 View commit details
    Browse the repository at this point in the history