Tweaks some handling of guiTreeViewObj so you don't necessarily have to delete an object if you delete the tree item, as well as the ability to look up the object id via tree item.

Also removes spam in the event that an item on the tree is more of a data representation rather than literal object.
This commit is contained in:
Areloch 2019-02-23 18:01:14 -06:00
parent 775ca57047
commit a937bf44f0
2 changed files with 29 additions and 4 deletions

View file

@ -554,6 +554,7 @@ class GuiTreeViewCtrl : public GuiArrayCtrl
S32 findItemByName(const char *name);
S32 findItemByValue(const char *name);
S32 findItemByObjectId(S32 iObjId);
S32 getItemObject(S32 itemId);
void sortTree( bool caseSensitive, bool traverseHierarchy, bool parentsFirst );