Skip to content

Commit e36e811

Browse files
author
Roberto De Ioris
authored
Update FixingMixamoRootMotionWithPython.md
1 parent cab5988 commit e36e811

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎tutorials/FixingMixamoRootMotionWithPython.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,10 @@ class RootMotionFixer:
254254

255255
def add_root_to_skeleton(self, mesh, bone='root'):
256256
...
257-
# assign the new skeleton to the new mesh
258-
new_mesh.skeletal_mesh_set_skeleton(new_skel)
257+
# fix bone influences
258+
self.fix_bones_influences(new_mesh, mesh.Skeleton)
259259

260-
new_skel.save_package()
260+
new_mesh.save_package()
261261

262262
...
263263
```

0 commit comments

Comments
 (0)