Hi everyone,
I’m currently working on exporting all geometry in my scene through a loop where I first clone each object, rename it to something like clone_1, clone_2, and so on, export these cloned objects, and then remove them from the scene afterward.
This works fine for most objects, but I’ve run into an issue with parts that use multiple material indices (multi-material meshes). These parts don’t get renamed to the expected clone_x format — instead, they keep their original names with an extra suffix, such as PartName_1, PartName_2, etc.
Is there a way to ensure that a multi-material mesh is treated and exported as a single object with just one name (e.g., clone_3) during export?
Any help or tips would be greatly appreciated!
Thanks in advance!