Added transactions for link breaking actions.
Removed call to unrelated sound schema delegate.
TTP# 347732 - EDITOR: BEHAVIOR TREES: Cannot undo Break Link action
[CL 2321095 by Thomas Sarkanen in Main branch]
The cached blackboard asset was not being updated on Undo, only on property change. Added extra PostEditUndo() call and prevented a full rebuild if the blackboard had not changed,
TTP# 344015 - AI: BehaviorTree: Possible to have the blackboard mode button grayed out even though a blackboard asset is set in the behavior tree
[CL 2280361 by Thomas Sarkanen in Main branch]
Unshelved this merge from Stephan and then completed the merge with additional fixes and testing.
Hand fixed some WorldExp compile issues due to changes to OnPaint() signature.
#Integration
[CL 2245992 by Daniel Broder in Main branch]
Added new widget overlay system for graph panels, designed to allow more flexibilty than the current brush-only implementation. This requred a small refactor to avoid the assumption that all child widgets of an SNodePanel are SNodes (and because there is no usable RTTI present).
Added index widget overlay to BT graph nodes.
Added flag to parent nodes to allow us to change the appearance of child nodes when another child is hovered.
TTP# 339733 - Editor: Behaviour Tree: Add better execution order indicators
reviewed by Lukasz.Furman
[CL 2226658 by Thomas Sarkanen in Main branch]
Added new tooltip text using tooltip metadata from C++ node classes & BlueprintDescription text for BP node classes.
TTP# 339734 - Editor: Behaviour Tree: Add node tooltips
reviewed by Lukasz.Furman
[CL 2223207 by Thomas Sarkanen in Main branch]
Added factory for Blackboard assets so they can have their own entry & icon in the context menu.
Added toolbar shortcut to create a new Blackboard asset alongside the BT.
Fixed selecting new Blackboard sometimes not displaying in Blackboard mode.
Displayed root node properties when nothing is selected so blackboard assets can be chosen.
Also added missing icons for small toolbars
TTP# 339961 - [Editor][AI] There's no way to create a blackboard asset
TTP# 339731 - Editor: Behaviour Tree: Root node UI improvements
reviewed by Lukasz.Furman
[CL 2119281 by Thomas Sarkanen in Main branch]
Added new BlueprintCategory property to UBlueprints that propagates to class metadata on Blueprint compilation. This metadata is then used for C++ and Blueprint-based node classes when displayed in the behavior tree palette.
Also fixed blueprint decorators incorrectly displaying no icon.
TTP# 337865 - [EDITOR][BT editor] BT nodes could use a way to define custom categories
reviewed by Lukasz.Furman
[CL 2117859 by Thomas Sarkanen in Main branch]
Made sure node owner is up-to-date after undo. This fixes the outer of the node being incorrect post-undo. Nodes are renamed away non-transactionally when deleted and cleaned up, so the change to the outer gets ignored and is not restored normally. This ensures that it gets properly fixed up.
TTP# 339299 - UE4: BEHAVIORTREE: Node turns pink from Undoing a delete
reviewed by Lukasz.Furman
[CL 2117819 by Thomas Sarkanen in Main branch]
Root nodes do not initialize their class data member (as they are never placed, only generated) which is to generate the default tooltip. Overriding the function to provide a useful tooltip for nodes.
TTP# 339280 - UE4: BEHAVIORTREE: Class not found tooltop still appears after saving
[CL 2113880 by Thomas Sarkanen in Main branch]
Added editor-only functions to allow nodes to override their in-editor icon display.
Added Blueprint icon to show which nodes use Blueprint for their logic.
Hooked up new icons to Editor style.
Added missing Blackboard icon.
TTP# 337682 - [ART REQUEST] New Icons for behaviour trees
reviewed by Andrew.Brown, Lukasz.Furman
[CL 2103111 by Thomas Sarkanen in Main branch]
- merged over from Fortnite branch
- includes adjusting all game projects that use AI code
- contains a nasty AIModule <-> Engine circular dependency. To be removed ASAP
[CL 2085468 by Mieszko Zielinski in Main branch]