mrwonko / Blender-Jedi-Academy-Tools

Blender Importer and Exporter for the Ghoul2 model/animation format (.gla/.glm) by Raven Software, created with Jedi Knight: Jedi Academy in mind.
17 stars 6 forks source link

Catch duplicate surface names on export #15

Open mrwonko opened 3 years ago

mrwonko commented 3 years ago

Reportedly, you can confuse the game by having multiple surfaces with identical names. I've never tested that, I should check what happens and catch it during export if it causes issues.

mrwonko commented 7 months ago

Looking at MdxmSurfaceDataCollection.loadFromBlender, there already appears to be a duplicate surface check using visitedChildren?