animate1978 / MB-Lab

MB-Lab is a character creation tool for Blender 4.0 and above, based off ManuelBastioniLAB
Other
1.76k stars 308 forks source link

List Index Out of Range #276

Closed animate1978 closed 4 years ago

animate1978 commented 4 years ago

Describe the bug Testing out new MB-Dev framework

Logs `Error: Traceback (most recent call last): File "/home/farishta/.config/blender/2.82/scripts/addons/MB-Lab/init.py", line 4891, in execute name = splitted[0] + "_" + splitted[1] + "_polygs.json" IndexError: list index out of range

location: :-1 `

TetoTheSquirrelFox commented 4 years ago

The error means that splitted is empty or None. Here it's because the variable "key" is none (-1). So that means I have to had a security check. I'm on it.