When trying to load a glTF file containing an animation channel with no node field, the parser fails with the error "The glTF is either missing something or has invalid data.".
According to the specs, a channel which does not contain a "node" property is perfectly valid and an implementation should ignore it, unless an extension defines the animated object and the implementation supports this extension.
The nodeIndex member of the AnimationChannel structure should probably be turned into an Optional like other optional properties.
When trying to load a glTF file containing an animation channel with no
node
field, the parser fails with the error "The glTF is either missing something or has invalid data.".According to the specs, a channel which does not contain a "node" property is perfectly valid and an implementation should ignore it, unless an extension defines the animated object and the implementation supports this extension.
The
nodeIndex
member of theAnimationChannel
structure should probably be turned into an Optional like other optional properties.