Skip to content

USD PrimitiveAlgo : Don't let primvars: clobber schema attributes - #1577

Merged
murraystevenson merged 1 commit into
ImageEngine:mainfrom
johnhaddon:primvarLoadingFixes
Nov 9, 2026
Merged

murraystevenson merged 1 commit into
ImageEngine:mainfrom
johnhaddon:primvarLoadingFixes

Conversation

@johnhaddon

Copy link
Copy Markdown
Member

Split off from #1576 to be merged to main rather than RB-10.6. I also fixed the bogus PointBased.positionscomment in the changes file.

USD represents some geometric properties as schema attributes and others via  UsdGeomPrimvarsAPI (and normals as either for some reason). But we store everything as a primitive variable. So it is possible to craft USD files where a primvar clashes with a schema attribute when loaded. We now issue a warning for this case, and ensure that the attribute takes precedence (except for normals, where USD documents that the primvar must win).
@johnhaddon johnhaddon self-assigned this Nov 6, 2026
@murraystevenson
murraystevenson merged commit 1901544 into ImageEngine:main Nov 9, 2026
6 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