Gltf loader: do not clone animation keys

In glTFLoaderAnimation, animation is constructed with setKeys()

And setKeys defaults to clone keys

Since these keys are built in-place for each channel (should be for each sampler, since gltf samplers can be reused, and we can discuss it later), keys should not be cloned, to reduce gc pressure

3 Likes

cc @bghgary and @alexchuber but I guess a PR would be welcomed :slight_smile:

Seems reasonable. I don’t know how to test this though. How do we ensure this doesn’t break anything?