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

Use SdfComputeAssetPathRelativeToLayer to compute sublayer paths #1515

Conversation

dj-mcg
Copy link
Collaborator

@dj-mcg dj-mcg commented Jun 21, 2021

This replaces custom logic that tried to anchor sublayer
paths to the parent layer using direct calls to ArResolver.
USD uses the Sdf function during composition, so using
it will match USD's behavior. This also allows us to
remove the use of ArResolver API that is deprecated
under Ar 2.0.

This replaces custom logic that tried to anchor sublayer
paths to the parent layer using direct calls to ArResolver.
USD uses the Sdf function during composition, so using
it will match USD's behavior. This also allows us to
remove the use of ArResolver API that is deprecated
under Ar 2.0.
@kxl-adsk kxl-adsk requested a review from seando-adsk June 21, 2021 21:13
@kxl-adsk kxl-adsk added the workflows Related to in-context workflows label Jun 21, 2021
Copy link
Collaborator

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good. Just to confirm, this USD layer utils function you are using is available in all our supported USD versions? I looked at the USD repo and I think the answer is yes.

@kxl-adsk kxl-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Jun 22, 2021
@kxl-adsk kxl-adsk merged commit 3b2ef6e into Autodesk:dev Jun 22, 2021
@dj-mcg
Copy link
Collaborator Author

dj-mcg commented Jun 22, 2021

Everything looks good. Just to confirm, this USD layer utils function you are using is available in all our supported USD versions? I looked at the USD repo and I think the answer is yes.

Yep! SdfFindOrOpenRelativeToLayer was added in 2016.

@dj-mcg dj-mcg deleted the pr/Use_SdfComputeAssetPathRelativeToLayer_to_Compute_Sublayer_Paths branch June 22, 2021 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge workflows Related to in-context workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants