Skip to content

UsdPrimVarReader authoring inputs:varname as token (should be string) #69

Description

@robp-sidefx

There is an issue in

{ { "varname", getSTPrimvarAttrToken(uvIndex) } },
whereby the value for varname is being passed along as a token, but should be a string (this is noted elsewhere -
// Supports both string and token type values for the varname
// string is the correct type, but token was added to support slightly
// incorrect assets.
)

Quick fix proposal:

-                        { { "varname", getSTPrimvarAttrToken(uvIndex) } },
+                        { { "varname", getSTPrimvarAttrToken(uvIndex).GetString() } },

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions