Commit Graph

87 Commits

Author SHA1 Message Date
Mike Beach
8c7209baf6 Adding metadata to nodes that helps track which ones were systematically added as "default" nodes.
[CL 2295774 by Mike Beach in Main branch]
2014-09-12 18:37:04 -04:00
Nick Atamas
440aad30b6 Slate : Deprecated .AspectRatio() and removed all references.
[CL 2294436 by Nick Atamas in Main branch]
2014-09-11 20:21:09 -04:00
Thomas Sarkanen
d030201695 Prevented decorators & services from becoming pink when deleted & undone
Made sure that the outer was correcly restored for decorators and services (as well as clearing RF_Transient).

TTP# 346154 - AI: BEHAVIORTREE: Node decorators turn pink after undoing delete

[CL 2293646 by Thomas Sarkanen in Main branch]
2014-09-11 08:43:24 -04:00
Thomas Sarkanen
ff9594e679 Right-click menu operations on Behavior Tree sub-nodes now work
Added new GetNodeUnderMouse() call to SGraphNode. This gives each node type the option of returning child nodes, rather than always operating on the top-level node.

TTP# 346150 - AI: BEHAVIORTREE: Unable to delete decorator and service using right click menu

[CL 2293617 by Thomas Sarkanen in Main branch]
2014-09-11 07:02:40 -04:00
Thomas Sarkanen
fd6aab9120 Reloading editor after undoing a delete & saving now correctly restores Behavior Tree nodes
RF_Transient is now cleared after undo

TTP# 346158 - AI: BEHAVIORTREE: Nodes do not get saved after undoing their delete

[CL 2293616 by Thomas Sarkanen in Main branch]
2014-09-11 06:57:38 -04:00
Thomas Sarkanen
dfe6bfcf3f Currect 'current' Blackboard values are now displayed in Blackboard view
Previously we were only showing the latest 'debug' values, wihc only get propogated on state change. Now we display the 'live' Blackboard values when 'Current' is selected.

TTP# 345511 - BT: blackboard preview is not updating values until new BT task is executed

[CL 2289317 by Thomas Sarkanen in Main branch]
2014-09-08 10:00:38 -04:00
Thomas Sarkanen
01ba0db5d3 Undo & Redo now properly affect Blackboard entries
Added RF_Transactional when editing blackboard data.

[CL 2289122 by Thomas Sarkanen in Main branch]
2014-09-08 04:34:13 -04:00
Mike Beach
42a36b542a Caching tooltips that use FText::Format() (optimizing for the new BP menu system).
[CL 2283623 by Mike Beach in Main branch]
2014-09-03 18:17:44 -04:00
Mike Beach
1b87f7d3ee Deprecating EdGraphNode's GetTooltip() (in exchange for one that returns FText over FString).
[CL 2283396 by Mike Beach in Main branch]
2014-09-03 18:14:09 -04:00
Thomas Sarkanen
1bde800877 Blackboard mode is now selectable after undoing a reset of the property
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]
2014-09-01 06:53:22 -04:00
Thomas Sarkanen
4d8d965fad Update Blackboard view when Blackboard is edited in Blackboard mode
Made sure the Blackboard view is up-to-date when Blackboard keys are added, removed and renamed.

TTP# 344116 - AI: BehaviorTree: The blackboard view tab does not update when changes are made to keys

[CL 2280353 by Thomas Sarkanen in Main branch]
2014-09-01 06:33:16 -04:00
Thomas Sarkanen
ea5a8e3ee8 Autowire new Behavior Tree nodes when dragging off from input an pin
Extend the autowiring of new nodes to deal with draggin from input nodes, rather than mjust output as before.

TTP# 344678 - EDITOR: BEHAVIOR TREES: Nodes are not automatically linked when one is create from input bar drag

[CL 2280252 by Thomas Sarkanen in Main branch]
2014-09-01 04:32:48 -04:00
Thomas Sarkanen
1afb591a77 Prevented crash when resetting Blackboard key type
Some parts of the code were still assuming that the blackboard key type was always valid. Fixed up & tested.

TTP# 343906 -  EDITOR: CRASH: In a blackboard asset, resetting a key type to default results in a crash

[CL 2280241 by Thomas Sarkanen in Main branch]
2014-09-01 03:57:38 -04:00
James Golding
86912e47a2 - Really fix BlackboardDataDetails.cpp non-unity
#codereview thomas.sarkanen

[CL 2277688 by James Golding in Main branch]
2014-08-29 10:55:21 -04:00
James Golding
0a0f27a68f Fix non-unity error in blackboarddatadetailes.cpp
#codereview thomas.sarkanen

[CL 2277655 by James Golding in Main branch]
2014-08-29 10:14:59 -04:00
Thomas Sarkanen
d5a8d9f5dd Fixed crash selecting enum key value when enum was invalid
Reported on AnswerHub here: https://answers.unrealengine.com/questions/90206/editor-crashes-when-using-undefined-enum-in-behavi.html

[CL 2277536 by Thomas Sarkanen in Main branch]
2014-08-29 07:34:17 -04:00
Thomas Sarkanen
374ce05e84 Fixed Behavior Tree details was not scrolling when the details panel was larger than the tab
Reported on UDN - https://udn.unrealengine.com/questions/218866/behaviour-tree-details-panel-scrollbar-missing.html

[CL 2277515 by Thomas Sarkanen in Main branch]
2014-08-29 07:09:26 -04:00
Thomas Sarkanen
a360c17ab2 Duplicate-named Blackboard entries can no longer be created.
Added checks for duplicate names when renaming entries in the Blackboard editor.
Added check when creating new keys so that we dont create duplicates at first.
Disabled name editing in the details panel, as we shoud only be editing the names in the list.

TTP# 343597 - BlackBoard editor allows multiple keys of the same name [modified]

[CL 2277513 by Thomas Sarkanen in Main branch]
2014-08-29 07:09:13 -04:00
Lukasz Furman
4f422c1046 fixed multiple nodes connected to special pins in behavior tree editor
[CL 2277510 by Lukasz Furman in Main branch]
2014-08-29 07:04:12 -04:00
Nick Atamas
057f48f25b Slate: Removed legacy operator() from FArrangedWidgets in favor of operator[]. Fixed uses cases.
[CL 2270701 by Nick Atamas in Main branch]
2014-08-25 12:51:49 -04:00
Ben Marsh
e9f8b8d3a1 Fixup multiline comments that are meant to be documentation. Need to start with /** for doxygen to parse them.
[CL 2265840 by Ben Marsh in Main branch]
2014-08-21 08:33:39 -04:00
Mike Fricker
b678b51efd Added editor notification when automatic hot reload completes
[CL 2264535 by Mike Fricker in Main branch]
2014-08-20 13:58:31 -04:00
Thomas Sarkanen
535cbfa5cb Fixed crash on shutdown when editing behavior trees.
[CL 2261125 by Thomas Sarkanen in Main branch]
2014-08-18 13:59:50 -04:00
Robert Manuszewski
8498aae74f Hot-reload from IDE
#change UBT: Added support for hot-reload when UBT is called from IDE and the current target is curring
#change Added support for hot-reload from VS to the engine
#change Refactored hot-reload functionality to a separarte module
#change Added hot-reload analytics events

[CL 2255801 by Robert Manuszewski in Main branch]
2014-08-14 03:37:01 -04:00
Marc Audy
552d40f27c Change RTTI system in FEdGraphSchemaAction to use FNames instead of FString
[CL 2249657 by Marc Audy in Main branch]
2014-08-09 13:30:30 -04:00