H-uru / korman

Blender plugin for creating ages for Cyan Worlds' proprietary Plasma engine and its open source variant, CyanWorlds.com Engine.
GNU General Public License v3.0
35 stars 17 forks source link

Fix #334. #337

Closed Hoikas closed 2 years ago

Hoikas commented 2 years ago

This fixes #334 by sorting everything before writing it out to the localization file. Note that we need to sort each step along the way because the nested dicts are not sorted by a call to sorted() - it appears to only sort the key.

DoobesURU commented 2 years ago

Unfortunately, it still seems to mix up the entries after opening Blender again.

DoobesURU commented 2 years ago

With that latest force push, it looks like that worked! Elements are now being sorted alphabetically, even after closing and reopening Blender. Thumbs up on this fix!