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

Wrong transform when an instanceable prim is not xformable #2132

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

sebastienblor
Copy link
Collaborator

Changes proposed in this pull request
For instanceable primitives that get rendered as an arnold ginstance node, we were only reading the matrix if the instanceable primitive was xformable. This is not correct, as this primitive can have parents that are xforms and which would require to read the matrix.
While doing the fix, I noticed that there was some deprecated code, with an AtArray protoMatrix that is always null, and some code testing what to do if it's non-null.

Added test_2131 with that use case

Issues fixed in this pull request
Fixes #2131

cpichard
cpichard previously approved these changes Oct 29, 2024
@sebastienblor sebastienblor merged commit f12ed72 into Autodesk:master Oct 30, 2024
9 checks passed
@sebastienblor sebastienblor deleted the pr/2131 branch October 30, 2024 07:45
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.

Wrong transform when an instanceable prim is not xformable
2 participants