taniwha / Kerbal-Konstructs

KSP Mod: Kerbal Konstrucs
https://forum.kerbalspaceprogram.com/index.php?/topic/151818-145-131-122-kerbal-konstructs-1452-12082018/&
0 stars 0 forks source link

Feature request: Strip or regenerate UUIDs on export #1

Open JadeOfMaar opened 4 years ago

JadeOfMaar commented 4 years ago

Thanks to your great discovery that duplicate UUIDs, due to my duplication of KK groups, I've meditated on this for a long time. I would be very grateful if a button or checkbox could be added to strip UUIDs before or during export. And in distant secondary: A button to regenerate or scramble them.

GER-Space commented 4 years ago

duplicate IDs should be recreated on load, but why this is not working I'm a bit clueless.

https://github.com/taniwha/Kerbal-Konstructs/blob/master/src/Core/StaticObjects/StaticDatabase.cs#L57-L60

I'm confused how any duplicate ID could end up in the KK Statics-Database. MAybe you can add some more debug output there, to see what is going on.