You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running usdGenSchema to generate code for a multipleApply API schema, I noticed some bugs when trying to build. I think these are just oversights in the template. I'm filing this here because due to some internal changes our ability to make a public PR is delayed for a while 🙄 and this would be an otherwise easy fix - sorry about that.
Description of Issue
When running usdGenSchema to generate code for a multipleApply API schema, I noticed some bugs when trying to build. I think these are just oversights in the template. I'm filing this here because due to some internal changes our ability to make a public PR is delayed for a while 🙄 and this would be an otherwise easy fix - sorry about that.
Here, this is returning UsdCollectionAPI and warning about collections, when it should return an invalid instance of the new schema class and print a more generic warning:
https://github.com/PixarAnimationStudios/USD/blob/master/pxr/usd/lib/usd/codegenTemplates/schemaClass.cpp#L82
These lines refer to UsdTokens, but should probably refer to {{ tokensPrefix }}Tokens:
https://github.com/PixarAnimationStudios/USD/blob/master/pxr/usd/lib/usd/codegenTemplates/schemaClass.cpp#L156
https://github.com/PixarAnimationStudios/USD/blob/master/pxr/usd/lib/usd/codegenTemplates/schemaClass.cpp#L158
Steps to Reproduce
System Information (OS, Hardware)
Linux
Package Versions
0.18.9 to 0.19.3
The text was updated successfully, but these errors were encountered: