AnimalLogic / AL_USDMaya

This repo is no longer updated. Please see https://github.com/Autodesk/maya-usd
Other
266 stars 69 forks source link

Support layer identifiers for paths that are not on disk #100

Closed nxkb closed 6 years ago

nxkb commented 6 years ago

Description

Support layer identifiers for paths that are not on disk until they are resolved. This allows us to use our uri resolver to load layers with sql:/// identifiers.

To support this, I removed a TfIsFile check and fixed the handling of relative paths if the joined path doesn't exist. We can simply rely on Usd to resolve the identifier and make sure it exists.

Changelog

Added

support for files that are not on disk until they are resolved

Checklist (Please do not remove this line)