skeleton.getAnimationRange not returning null for invalid range

According to the API, getAnimationRange should return Nullable<AnimationRange> but its actually returning undefined instead. wai?.

Repro: https://www.babylonjs-playground.com/#BCU1XR#1168
Line 58, open console to see

Hope it helps, cheers!

1 Like

Good one! I’ll fix it

2 Likes

Thank you!