When using the STL exporter, the new meshes created in the CreateWorldSpaceMeshesWithTransforms method were using the default 16bit index format, resulting in incomplete models and/or with artifacts.
This PR just copies the original meshes's index format to fix the issue.
Tested with some meshes with 32bit index format. So far has worked fine to me.
When using the STL exporter, the new meshes created in the CreateWorldSpaceMeshesWithTransforms method were using the default 16bit index format, resulting in incomplete models and/or with artifacts.
This PR just copies the original meshes's index format to fix the issue. Tested with some meshes with 32bit index format. So far has worked fine to me.
Before:
After: