Skip to content

Commit

Permalink
restore root rename fix
Browse files Browse the repository at this point in the history
  • Loading branch information
memelotsqui committed Mar 13, 2024
1 parent 2b11c87 commit aa6379b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/library/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,6 @@ export const createBoneDirection = (skinMesh) => {
export const renameVRMBones = (vrm) => {
const bones = vrm.humanoid.humanBones;

bones['hips'].node.parent.name = "root";
// // if user didnt define upprChest bone just make sure its not included
if (bones['upperChest'] == null){
// just check if the parent bone of 'neck' is 'chest', this would mean upperChest doesnt exist,
Expand Down

0 comments on commit aa6379b

Please sign in to comment.