ThatAsherGuy / WoWbjectImporter

A World of Warcraft Model Importer for Blender
GNU General Public License v3.0
26 stars 8 forks source link

Importer crash: 9xp_covenant_sigil01_arbiter #3

Open alinsavix opened 3 years ago

alinsavix commented 3 years ago

In the 9.1 PTR, there are a set of "sigils" which are 2D objects used for (I think) achievement tracking for completion of parts of the content. Attempting to import one of them (9xp_covenant_sigil01_arbiter) results in this stack trace:

Python: Traceback (most recent call last):
  File "C:\Users\alinsa\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\wowbject\operators.py", line 106, in execute
    reports = do_import(self.files, self.directory, self.reuse_materials, self.base_shader, args)
  File "C:\Users\alinsa\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\wowbject\utilties.py", line 481, in do_import
    base_shader=base_shader
  File "C:\Users\alinsa\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\wowbject\utilties.py", line 127, in do_setup
    load_step = self.unpack_m2()
  File "C:\Users\alinsa\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\wowbject\utilties.py", line 145, in unpack_m2
    self.use_m2, self.m2_dict, self.anim_combos, self.anim_transforms, self.bones = read_m2(self.source_directory, self.m2)
  File "C:\Users\alinsa\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\wowbject\kaitai\m2_handler.py", line 190, in read_m2
    rate = rotation.timestamps.values[0].values[1] / 1000  # TODO: Double-check time unit
IndexError: list index out of range

location: <unknown location>:-1

There are several more of these objects, all with the 9xp_covenant_sigil01_ prefix, though I haven't tested any others.

The functional version of 9xp_covenant_sigil01_arbiter should look like this: https://gfycat.com/impartialselfishfly