-
Notifications
You must be signed in to change notification settings - Fork 202
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
Configure resolver to generate resolver context #1342
Conversation
Apply clang format
53fae34
to
98a5aeb
Compare
Might this be another relevant location? https://github.com/Autodesk/maya-usd/blob/dev/lib/mayaUsd/utils/utilFileSystem.cpp#L57 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good thing to have 👍
Did you consider using ResolverContext
objects too?
Typically in places like this where a call like ArGetResolver().CreateDefaultContextForAsset(fileString)
has become the default standard in many places (usdview, solaris).
A step further would be to be able to apply arbitrary resolver contexts to proxyShapes.
@fabal Thanks for bringing this up. I'm catching up on docs around this, it's unclear to me why we need this extra Regardless, I updated the change to include suggestions raised in this review and matched the code to what is here. @dolivares-spinvfx please give it a try since you raised this issue originally. |
Admittedly, that explicit call to |
Was just able to test this today due to a disk failure. Seems like asset resolution is working with this change. Thanks! |
Address issue reported by #1236. FWIW. We are still planning on exploring Ar 2.0 so things may change here.