Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Houdini] Provide support for adding in-memory stages to the GusdStageCache #775

Conversation

marktucker
Copy link
Contributor

Adding support for the explicit addition of stages to the GusdStageCache. The use case here is that we have in-memory stages (with anonymous root layers) from which we would like to construct USD packed primitives. Rather than having the GusdStageCache construct new (masked) stages from these in-memory stages, it makes more sense to just tell the cache that these full stages are already in memory.

Also had to fix the cache invalidation code to properly deal with anonymous layer identifiers so that these in-memory stages can be modified, and the cache properly invalidated in response.

explicit insertion of stages into the cache. This could be used for
stages loaded from files on disk, but is primarily intended for adding
in-memory stages to the cache.
@jilliene
Copy link

Filed as internal issue #USD-5099

@pixar-oss pixar-oss merged commit 9a41a30 into PixarAnimationStudios:dev Mar 14, 2019
pixar-oss added a commit that referenced this pull request Mar 14, 2019
[Houdini] Provide support for adding in-memory stages to the GusdStageCache

(Internal change: 1947497)
@marktucker marktucker deleted the dev_houdini_stagecache_anonymous branch March 26, 2019 04:22
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.

5 participants