stuntkit / stunt_gp_blender

Blender 3.X plugin for reading Stunt GP models
0 stars 0 forks source link

Support for PMD 1.6X is broken #2

Open halamix2 opened 1 year ago

halamix2 commented 1 year ago

When trying to load 1.60 CAR1.pmd:

try 10 36 poly 135 mesh 1 lod 0

Traceback (most recent call last):
  File "import_pmd.py", line 63, in execute
    result = self.to_blender_basic(pmd, self.filepath, name, self.scale)
  File "import_pmd.py", line 186, in to_blender_basic
    tab = [uvs[k].vertex_id for k in faces_extracted]
  File "import_pmd.py", line 186, in <listcomp>
    tab = [uvs[k].vertex_id for k in faces_extracted]
IndexError: list index out of range
Saved session recovery to '/tmp/quit.blen
halamix2 commented 3 months ago

1.62 should work now