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

Allow non-root level prims as default prims #2951

Closed
dlarsson-adobe opened this issue Feb 15, 2024 · 1 comment
Closed

Allow non-root level prims as default prims #2951

dlarsson-adobe opened this issue Feb 15, 2024 · 1 comment

Comments

@dlarsson-adobe
Copy link

Description of Issue

In some situations it would be very useful to have a non-rootlevel prim as a default prim.

A typical example would be a materialx document. It can serve both as a library in which you might have multiple materials in a hierarchy which you can reference or sublayer in preserving that hierarchy. On the flipside, a large percentage of situation there is only a single material in the document. If someone just wanti to assign the materialx file as a material on a prim the notion of a default prim would point to a specific material being the one to assign.

At the moment the document has to either pick putting materials in the root of the namespace so it can be a default material or in a hierarchy that looks like a nice material library. Allowing a non-root level prim to be the default prim can give you both these behaviors in a convenient way where you point the default prim to a specific material in the hierarchy and if you sublayer or reference in / you'll get the material library behavior.

@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-9314

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

No branches or pull requests

2 participants