Skip to content

Animation Channel's "Node" Member Isn't Required #439

@cwfitzgerald

Description

@cwfitzgerald

Per https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#animations:

When node isn’t defined, channel SHOULD be ignored. Valid path names are "translation", "rotation", "scale", and "weights".

Blockbench in particular seems pretty happy at spitting out non-targetted channels. This causes a json parsing error, as the gltf crate expects there to be a node, but one isn't present.

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