Skip to content

Conversation

pshinners-blz
Copy link

The first commit updates the regular expression usdmanager uses to identify references. Previously it did not recognize uri style paths, which are supported by under ArResolver2.0.

The second commit updates the ArResolver2.0 code path to use the source as an anchor. This allows relative references to work
with non-filename asset references. Usd Manager has some internal path manipulation to allow relative paths to work with plain file paths, but it needs to use the resolver plugin for non file paths. This logic already exists when dealing with the ArResolver1.0 API, but when the 2.0 support was added this was overlooked.

@gj-dwa
Copy link
Collaborator

gj-dwa commented Jan 24, 2024

Could you sign the contributor agreement and email that to [email protected]?

Your contribution is very much appreciated!

pkilgo-blz and others added 2 commits January 26, 2024 13:16
This updates the regular expression usdmanager uses to identify
file references. Previously it did not recognize uri style paths,
which are supported by Usd under ArResolver2.0.

Signed-off-by: Peter Shinners <[email protected]>
This updates the ArResolver2.0 code path to use the source
file as an anchor. This allows relative references to work
with non-filename asset references. Usd Manager has some
internal path manipulation to allow relative paths to work
with plain file paths, but it needs to use the resolver
plugin for non file paths. This logic already exists when
dealing with the ArResolver1.0 API, but when the 2.0 i
support was added this was overlooked.

Signed-off-by: Peter Shinners <[email protected]>
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.

3 participants