-
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.
pcp: Fixes for dynamic payload argument composition
When handling ancestral payloads during recursive prim indexing, PcpDynamicFileFormatContext did not account for differences in namespace depth when traversing across stack frames. This caused incorrect behavior where arguments authored on a prim would affect ancestral payloads. For example, if Pcp were composing prim /Root, and that prim referenced /DynamicPayload/Child, Pcp would recursively compose /DynamicPayload/Child to incorporate ancestral opinions from /DynamicPayload. While composing /DynamicPayload, Pcp would incorrectly consider arguments authored on /Root. This is inconsistent with Pcp's handling of composition arcs like variants in the same situation: variant selections authored on /Root would not apply to variant sets authored on /DynamicPayload. Instead of using each node's exact path, we now map paths across composition arcs to maintain the correct namespace depth as we traverse the prim index. This change also fixes a bug where composition graph subtrees would be redundantly traversed when performing non-strongest-first argument composition. (Internal change: 2306710)
- Loading branch information
Showing
5 changed files
with
288 additions
and
10 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
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
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