Skip to content

Conversation

@robp-sidefx
Copy link
Contributor

@robp-sidefx robp-sidefx commented Jul 3, 2025

Description of Change(s)

Making UsdShadeConnectionSourceInfo hashable, and keeping a cache (map) of seen connections (along with their dirty status) when traversing shading networks. This resolves in issue we're observing where "very large" (and I apologise that I've been unable to quantify or better describe this - depth vs breadth vs fan-in vs fan-out...) shading networks can take a prohibitively long time to traverse due to repeated evaluation of connection hierarchies.

Link to proposal (if applicable)

Fixes Issue(s)

Checklist

…f seen connections in the recursive `_IsConnectionDirty` to minimise rechecking branches.
@tpalmergit15
Copy link

Filed as internal issue #USD-11177

(This is an automated message. See here for more information.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants