Turk645 / PokemonMasters

Blender 2.8 import script for LMD files from Pokemon Masters
18 stars 13 forks source link

Fully importing any model fails since the game's 1.2.0.1459 update #6

Closed MiniEmerald closed 4 years ago

MiniEmerald commented 5 years ago

The plugin manages to import a small part of the model, but then it displays an error. I did the test with the 1.0.2 (latest) version of the plugin.

Traceback (most recent call last):
  File "PokeMas\blender-2.79b-windows64\2.79\scripts\addons\io_import_pokemon_masters.py", line 63, in execute
    ReadMeshChunk(CurFile,x,ArmatureObject)
  File "PokeMas\blender-2.79b-windows64\2.79\scripts\addons\io_import_pokemon_masters.py", line 232, in ReadMeshChunk
    if obj.vertex_groups.find(WeightBoneTable[x[1][i]]) == -1:
IndexError: list index out of range

location: <unknown location>:-1
Andree12 commented 5 years ago

https://github.com/jugolm/PokemonMasters

Turk645 commented 4 years ago

fixed in latest update