We recently noticed that internal references can target child prims of an inactive prim. After some thinking/poking, the it sort of makes sense, even if it’s counter-intuitive. As a result, we were discussing whether it would be safe to allow users to deactivate the “Prototypes” child of instancer setups, and thus lighten scenes a bit. But if this is unintended behavior that will likely be fixed, then we’d shy away from building tools around it.
Is this approach of deactivating the parent “Prototypes” prim advisable? Or is this dangerous behavior, or even a bug, that should be avoided?
Thanks!
def Xform "MyObjects" (
kind = "group"
)
{
def Scope "Prototypes" (
active = false
kind = "group"
)
{
token visibility = "invisible"
def Xform "Ball" (
kind = "component"
)
{
def Sphere "sphere_1"
{
}
}
}
def "Instance0" (
instanceable = true
prepend references = </MyObjects/Prototypes/Ball>
)
{
}
def "Instance1" (
instanceable = true
prepend references = </MyObjects/Prototypes/Ball>
)
{
}
def "Instance2" (
instanceable = true
prepend references = </MyObjects/Prototypes/Ball>
)
{
}
}