convert animated mesh to bones