Fixed a bug in the animated mesh class.
Also removed a depracted feature, that only caused errors(trasition_offset).