Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fixes for LinkSet Data related to matching SL behavior (#68)
* For YEngine when posting events for linkset_data, deliver the event to all scripts in all prims. Similar to attach which is currently handled here. Clean up some of the special case handling in LinksetData Write. Writing a key with no value is translated to a delete. We weren't handling that case. Also returned key value on a write, we were previously returning a null string. * Bumped version. Refactored LinksetData support from the SOP into a seperate LinkssetData class. The SOP is one of those things thats already WAY to complex so hopefully this should make maintenance easier. Added code to merge LinksetData stores in order to handle linking 2 SOGs that both have LinksetData. Adjusted serialization handling so the database still stores just the KVPs and the wrapper class is constructed from that. Keeps it compatible with current saved data. * Address some CodeQL comments. Rework Merge to address an issue with shared entries. Still need to address shift-copy issues. * Bump version. Add code to LinksetData and LinksetEntry to do a deep copy. We use that when doing a copy of prims because otherwise the dictionary ends being referenced from both prims on a shift copy, etc. Also used on a merge to create new entries. Fixed some of the accounting code which was incorrectly reporting usage and terminating a copy early on a merge. * Address CodeQL issues, cleaner handling of possible null values.
- Loading branch information