From 4e871878b07d7ad093d1cb032235d3c9f2b44df3 Mon Sep 17 00:00:00 2001 From: Maygik <59933815+Maygik@users.noreply.github.com> Date: Fri, 1 Mar 2024 03:49:41 +0000 Subject: [PATCH] Fixed root being renamed to some form of root.00x --- mixamoconv.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mixamoconv.py b/mixamoconv.py index 351b6ec..83ae2ed 100644 --- a/mixamoconv.py +++ b/mixamoconv.py @@ -233,6 +233,12 @@ def hip_to_root(armature, use_x=True, use_y=True, use_z=True, on_ground=True, us root = armature root.name = "root" + + """Fixes incorrect root renaming""" + """Yes this is a dumb fix but it works""" + root.name = "root" + root.name = "root" + root.rotation_mode = 'QUATERNION' framerange = root.animation_data.action.frame_range