Files
UnrealEngineUWP/Engine/Source/Programs/Shared
Ben Marsh d7fbb615a0 Horde: Simplify ownership semantics for TreeNode objects, to allow sharing objects between different writers.
* TreeNode objects now have a revision number, incremented each time they are modified, and no longer have a back reference to the reference that "owns" them.
* Revision number is captured whenever a node is added to a writer.
* TreeNodeRefs clear out the object they're tracking when written, if the revision number hasn't changed, and also no longer have a back reference to the node that "owns" them.
* New OnExpand() / OnCollapse() callback methods on TreeNodeRef allow custom behavior when a ref is about to transition state.
* See comment above TreeNodeRef for a breakdown of the various states and state transitions for refs.

#preflight none

[CL 23099350 by Ben Marsh in ue5-main branch]
2022-11-11 11:44:01 -05:00
..
2022-11-08 12:09:56 -05:00