-
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.
Fix perf regression caused by change 2248004
- Basically when usdImaging is getting the material path to track by calling UsdShadeMaterialBindingAPI:ComputeBoundMaterial, 2248004 was always using the winning binding to get the target path, irrespective of whether the bound material exists or not. But we can do better and simply return the path of the bound material if it exists, instead of always getting the winning relationship targets (which is useful when the bound target doesn't exist on the loaded stage). (Internal change: 2248431)
- Loading branch information
1 parent
0158cc2
commit 10f2792
Showing
1 changed file
with
26 additions
and
17 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