Introduced in rP3653.
There are 2 mane cases we cannot set animation.
1st there are not bones
2nd animation is not valid
I am not sure what will currently happen if we do not have bones and we do not have valid animation. In that case no one from these condition is true so invalid animation is going to be set ?
That being said, these conditions can be merged into one with one bonus.
We do not have valid animation and bones, we should fail.