Open ADDRAIN1990 opened 2 years ago
I just encountered the seem issue, and fixed it by editing the mentioned line in ToRigify.py (line 92 in your case, but can be other lines in different versions): modify Global.bone_limit_modify() to Global.bone_limit_modify([])
The error occurs because Global.bone_limit_modify function requires an empty list as argument, although bone_limits are empty.
I am having a hard time getting this to work properly at least on Windows since it handles directories in a very strange way so you might end up with this error if you have way too many morphs.
for file in os.listdir(Global.getHomeTown()):
FileNotFoundError: [WinError 3] The system cannot find the path specified: ''
When I try to transfer it to rigify, following error happens:
Python: Traceback (most recent call last): File "C:\Users\joris\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\DTB\DtbOperators.py", line 438, in execute trf.toRigify(db, self) File "C:\Users\joris\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\DTB\ToRigify.py", line 92, in toRigify Global.bone_limit_modify() TypeError: bone_limit_modify() missing 1 required positional argument: 'bone_limits'