lighttransport/tinyusdz

Support timesampled `token`

syoyo opened this issue · 1 comments

#usda 1.0

def Mesh "muda"
{
    token visibility.timeSamples = {
        0: "invisible",
        2: "inherited",
        4: "invisible",
    }
}

This results error with awkward error message.

src/prim-reconstruct.cc:ReconstructGPrimProperties():2319 (GPrim) Property type mismatch. visibility must be type `token`, but got `token`.

Fixed via #146