Skip to content

USDScene : Use extentsHint to load bounds when prim.IsModel() #1474

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

Merged

Conversation

johnhaddon
Copy link
Member

Even if the UsdGeomModelAPI that provides that attribute has not been applied. This allows us to load the bounds from certain assets exported from certain DCCs. It also follows the behaviour of UsdGeomBBoxCache, where _UseExtentsHintForPrim() checks prim.IsModel() but doesn't check the for the application of the API.

Even if the UsdGeomModelAPI that provides that attribute has not been applied. This allows us to load the bounds from certain assets exported from certain DCCs. It also follows the behaviour of UsdGeomBBoxCache, where `_UseExtentsHintForPrim()` checks `prim.IsModel()` but doesn't check the for the application of the API.
@johnhaddon johnhaddon self-assigned this Jul 3, 2025
@johnhaddon
Copy link
Member Author

Might be good to include this in a Gaffer release this week if possible.

@murraystevenson murraystevenson merged commit f1e9aa6 into ImageEngine:RB-10.5 Jul 3, 2025
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