Parik27 / DragonFF

Blender Add-on to edit RenderWare and GTA Formats
GNU General Public License v3.0
342 stars 124 forks source link

Import error #306

Open bingusgaming490 opened 3 weeks ago

bingusgaming490 commented 3 weeks ago

I imported a dff file from the Madagascar game (PC) into Blender 3.6.5 and it gives this error

Python: Traceback (most recent call last): File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\DragonFF-master\gui\dff_ot.py", line 278, in execute importer = dff_importer.import_dff( File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\DragonFF-master\ops\dff_importer.py", line 824, in import_dff dff_importer.import_dff(options['file_name']) File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\DragonFF-master\ops\dff_importer.py", line 796, in import_dff self.import_frames() File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\DragonFF-master\ops\dff_importer.py", line 715, in import_frames obj.parent = self.objects[frame.parent] IndexError: list index out of range

I noticed there's 2 meshes imported when this plugin usually imports all parts in one combined mesh and that may have something to do with it.

Screenshot 2024-06-05 182944 Dff file

Psycrow101 commented 3 weeks ago

Try this branch https://github.com/Psycrow101/DragonFF/tree/multi-mesh