-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usd: Fixes for UsdInherits::GetAllDirectInherits
This function relied on Pcp not culling certain inherit nodes so that their associated site paths would be included in the result, even if there were currently no opinions at that path. However, this assumption failed in (at least) cases that involved a mix of specializes and inherit arcs. This was discovered by running testUsdInherits with the PCP_CULLING env setting set to 0. We now use the expanded prim index to find the desired inherit paths to ensure that all possible sources of opinions are present. This change also fixes a bug where paths in non-local layer stacks would be included in the result. (Internal change: 2307606)
- Loading branch information
Showing
2 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters