Skip to content

Commit

Permalink
Refactor UsdUtils_UsdzPackage into common base class.
Browse files Browse the repository at this point in the history
This new class, UsdUtils_AssetLocalizationPackage will act as a base class for shared packaging functionality used by CreateNewUsdzPackage and to new forthcoming UsdUtilsLocalizaeAsset method.

This base class handles the following tasks in a generic way:
- Pprocessing dependencies and determining a relative package path
- Performing remapping in the case that a non-reative path is encountered during localization.
- Handling layers that were modified as part of the localization process
- Invoke a virtual function to add a resolved AR path to a package relative path

(Internal change: 2301707)
  • Loading branch information
matthewcpp authored and pixar-oss committed Nov 1, 2023
1 parent d3f950c commit ceb3699
Show file tree
Hide file tree
Showing 6 changed files with 669 additions and 465 deletions.
1 change: 1 addition & 0 deletions pxr/usd/usdUtils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ pxr_library(usdUtils
PRIVATE_CLASSES
assetLocalization
assetLocalizationDelegate
assetLocalizationPackage

PUBLIC_HEADERS
api.h
Expand Down
Loading

0 comments on commit ceb3699

Please sign in to comment.