Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-usd

Source of release 0.9.2

0.9.2 / tests / fixtures / openusd / museum / TrickyMultipleRelocations / flattened.usda

#usda 1.0
(
    """
    In this test, we have a Char that references a CharRig.
    CharRig in turn references a SubRig.

    In addition to the typical relocation to move CharRig's
    internal anim scopes out to the public Anim scope, Char
    uses relocations to rename everything to add a -2 suffix.

    Lastly, subrig also contains a \"shadow\" spec at the source
    path of a relocation in the Char.  This tests that that
    spec is correctly ignored, both when composing the relocation
    target and when composing child names of the parent.
    """
)

def Scope "Char"
{
    def Scope "Anim2"
    {
        def Scope "AnimScope"
        {
            custom double x = 0
        }
    }

    def Scope "Rig2" (
        doc = "test"
    )
    {
        def Scope "SubRig2"
        {
            def Scope "Anim"
            {
            }

            def Scope "Rig2" (
                doc = "test"
            )
            {
                def Scope "RigScope"
                {
                    custom double x = 0
                    double x.connect = </Char/Anim2/AnimScope.x>
                }
            }
        }
    }
}