-
Notifications
You must be signed in to change notification settings - Fork 12
Description
After downloading the models from the model dump linked on this repo, I tried loading a few of them, but only managed to load the armature before I got the following error:
Python: Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\PokemonSwitch.py", line 93, in execute
from_trmdl(directory, f, self.rare, self.loadlods)
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\PokemonSwitch.py", line 1623, in from_trmdl
if poly_group_struct_ptr_unk_vis_group_name != 0:
UnboundLocalError: local variable 'poly_group_struct_ptr_unk_vis_group_name' referenced before assignment
I also tried doing the same with the options Load Shiny, Load All Folder, Load LODS ticked on/off, with the same result.
This error only occurs when loading PLA models - everything runs just fine when loading SV models