-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Geometry export: use unique names for repeated materials (#67)
When a user assigns the same material to multiple material slots, the previous logic would use the same name for all of them, and therefore overwrite the exported mesh file repeatedly. Only the mesh part that appeared last in the materials slot list would remain. This PR ensures that unique names are used for the output meshes.
- Loading branch information
Showing
1 changed file
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters