This change adds an optional UsdUtilsProcessingFunc parameter to UsdUtilsComputeAllDe...
authormatthewcpp <matthewcpp@users.noreply.github.com>
Mon, 22 Jan 2024 22:36:30 +0000 (14:36 -0800)
committerpixar-oss <pixar-oss@users.noreply.github.com>
Mon, 22 Jan 2024 23:03:27 +0000 (15:03 -0800)
commit830fe92f96e730b2deae70e9e476770ea8265bbb
tree944f86127339f07e44b8461ca1356833aacc4ace
parent61c9db9df6a2bff54da4db1bfff6eb2d6c363f03
This change adds an optional UsdUtilsProcessingFunc parameter to UsdUtilsComputeAllDependencies.  This allows for users to inject custom logic into asset discovery.  It is important to note that in this case, modifications to asset paths and dependencies are not wrriten back to the underlying layers.  The motivation for this change was to allow for filtering of certain layers in order to match specific behavior of previous versions of this function.

(Internal change: 2312250)
pxr/usd/usdUtils/assetLocalization.cpp
pxr/usd/usdUtils/assetLocalizationDelegate.cpp
pxr/usd/usdUtils/assetLocalizationDelegate.h
pxr/usd/usdUtils/dependencies.cpp
pxr/usd/usdUtils/dependencies.h
pxr/usd/usdUtils/localizeAsset.h
pxr/usd/usdUtils/overview.dox
pxr/usd/usdUtils/testenv/testUsdUtilsDependencies.py
pxr/usd/usdUtils/userProcessingFunc.h
pxr/usd/usdUtils/wrapDependencies.cpp