karl- / pb_Stl

STL import/export for Unity, supporting both ASCII and Binary.
MIT License
179 stars 43 forks source link

Incorrect IndexFormat.UInt32 support #22

Closed feraligatr closed 2 years ago

feraligatr commented 2 years ago

https://github.com/karl-/pb_Stl/blob/f13d4ca646a24580dbd6984264215809fbec9247/Runtime/Importer.cs#L446

"indexFormat = indexFormat" have to be put before "triangles = t", or else it will fail to set indexes.

karl- commented 2 years ago

Happy to accept a PR :)