This repository has been archived by the owner on Dec 16, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed regression: skipped records are now skipped correctly when load…
…ing a mod Tested record undeletion fixed undeletion of editorID keyed records commented out debug statements EditorID keyed records no longer get a new formID on copy keeping its existing formID, even if it means extra masters are added to the mod allows record undeletion if later loaded in CBash should also make TES4Edit users happy Removed cruft GMST records no longer print an error message when a deleted GMST is written Made UpdateReferences faster pass all reference pairs at one time Use Record::GetRecordUpdatedReferences to tell if a record had its formIDs updated Use Collection::ClearReferenceLog to clear the map used by Record::GetRecordUpdatedReferences Removed Record::GetNumReferences Updated jEdit macros Changing both the editorID and formID at the same time no longer allows you to set the formID to one already in use EditorID keyed records are now also keyed by their formID to prevent FormID keyed records from accidentally being given their formID Collection unloading is now a smidge faster CopyAsNew/Override now take an additional option UseWinningParents If true, and the record requires an auto-copy of its parents, it will use the winning version of those parents instead Rewrote CleanModMasters Should be more reliable Should, on average, be faster (linear vs polynomial) Added CleanMasters flag to Record::save It is enabled by default, so it no longer requires a separate function call later Record histories and conflicts should be a bit faster to get Saving a mod, but not closing the collection, no longer results in: 1) Pseudo-random crashing when accessing that mod's records 2) Creation of various '*.new.*' files 3) Unknown error messages about the inability to rename files Once a file is saved, you cannot use ResetRecord to undo changes. FormIDs, ActorValues, and MGEFCodes are much better handled by cint Python can now directly test if a value is a FormID, ActorValue, or MGEFCode with isinstance WARNING! This breaks backwards compatibility to some degree. Instead of passing ('Oblivion.esm', 0xFF), change it to FormID('Oblivion.esm', 0xFF) REGN::edgeFalloff is no longer erroneously treated as a FormID by cint.py Creating a condition and first setting any field other than ifunc no longer results in pointless warnings being printed by CBash Record::flags1 no longer shows any internal CBash flags ObTest.py updated to new FormID/ActorValue/MGEFCode requirements, cleaned flags, UpdateReferences changes Added GetModIDByRecordID, GetCollectionIDByRecordID, and MakeShortFormID to API All records now contain a pointer to their parent record (or Mod) All mods now contain a pointer to their parent collection cint.py is became much simpler. All records used to contain their CollectionID, ModID, and RecordID. Now they just require the RecordID. So the python records should construct faster, and use less memory. All the fields should also be accessible / settable a bit faster since the CBash functions require fewer parameters. Added GetParentMod() and GetParentCollection() to records Records no longer have FileName, ModName, GName properties. Use the new GetParentMod() function, and access the ModFile.FileName property there Added Collection::UnloadAllCollections, DeleteAllCollections as static methods Removed Collection::LookupRecord TES4 description field is now limited to 512 characters (including NULL terminator)
- Loading branch information