lsalzman / iqm

Inter-Quake Model format development kit
MIT License
244 stars 72 forks source link

Duplicate Mesh Export #62

Closed jacob-herrera closed 1 year ago

jacob-herrera commented 1 year ago

In commit b8152c6 from issue #60 for the blender-2.93 exporter, it seems like @PJB3005 added an option to export multiple meshes from multiple materials for his DarkPlaces project. I don't even have this option enabled in the blender export and it's exporting the same mesh twice, I assume because the occurrence of meshes.append(mesh) twice. For me it was showing as two surfaces in FTEQW. When reading the .iqe file and the blender console, it wrote the same mesh and same material twice.

I just test commit 73112b6 and it has the expected behavior

lsalzman commented 1 year ago

Fixed

PJB3005 commented 1 year ago

I ran into this two weeks ago because I started screwing around with DarkPlaces again and genuinely have no idea how I managed to break that and not notice it, sorry.