Revert "Reverted using to using bone index so that vertex weights is show right."

This reverts commit 93b058d98fae51d973b67f1f8d5f6f069a95c1b4.