Grimrukh / soulstruct-blender

Blender plugins for FromSoft games, via `soulstruct`.
97 stars 4 forks source link

Error on utilizing the Export Textures checkbox #65

Open BoboLLC opened 2 months ago

BoboLLC commented 2 months ago

I recently came back to working on textures and models and noticed that the Export Textures checkbox seems to no longer work after I updated my blender and soulstruct-blender versions.

--When checked and an export is attempted, this error shows up. Python: Traceback (most recent call last): File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\io_soulstruct\flver\image\types.py", line 272, in to_dds_data_batch dds_format = texture.get_dds_format_str(find_same_format) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\io_soulstruct\flver\image\types.py", line 176, in get_dds_format_str raise TextureExportError(f"Blender image '{self.name}' has DDS format set to 'NONE'. Cannot get format.") io_soulstruct.exceptions.TextureExportError: Blender image 'c2780.tga' has DDS format set to 'NONE'. Cannot get format.