Commit Graph

40 Commits

Author SHA1 Message Date
Lukasz Furman
7189f23ffe fixed duplicated subnodes in behavior tree editor
#ue4 UE-14368

[CL 2524029 by Lukasz Furman in Main branch]
2015-04-24 04:41:17 -04:00
Michael Schoell
3f52b7d131 In "Region and Language" you can toggle localization of node and pins in all graph editors.
SNodeTitle no longer compares cached node titles to the title the node wants to be to determine a reconstruction, it checks if the schema wants to purge all cached node titles.

#jira UE-8371 - Change Editor language while leaving Blueprint Editor node & pin names in English

[CL 2508681 by Michael Schoell in Main branch]
2015-04-10 14:37:56 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
Lukasz Furman
8db86ff08b fixed crash on pasting composite decorator node in behavior tree editor
#ue4

[CL 2481392 by Lukasz Furman in Main branch]
2015-03-17 07:30:01 -04:00
Jaroslaw Palczynski
28fc7695a0 Missing chages for 2481343.
Some P4V problem with backing out large changelist missed some files.

#codereview Robert.Manuszewski

[CL 2481366 by Jaroslaw Palczynski in Main branch]
2015-03-17 06:17:32 -04:00
Jaroslaw Palczynski
f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00
Jaroslaw Palczynski
fa31560e2d Enabled UHT to digest GENERATED_BODY instead of GENERATED_UCLASS_BODY, GENERATED_USTRUCT_BODY, GENERATED_UINTERFACE_BODY or GENERATED_IINTERFACE_BODY, changed every occurence to the new syntax and fixed every warning that have fallen out of this change.
#codereview Robert.Manuszewski

[CL 2481333 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:19:11 -04:00
Lukasz Furman
44fe9fb9b1 added spawning new wait task when parallel's background branch is empty on behavior tree save
#ue4 UE-11053

[CL 2474980 by Lukasz Furman in Main branch]
2015-03-11 06:17:18 -04:00
Lukasz Furman
fca3449ad5 integrated EQS changes from dev branch:
CL# 2453024: added navigation filter to EQS pathfinding tests
CL# 2466155: added batch pathfinding test for EQS
CL# 2466237: EQS generators will now cache NavLocation of items if navmesh projection is enabled
CL# 2466356: added support for deprecated nodes in EQS editor
CL# 2466358: pathing grid EQS generator is now deprecated
CL# 2466439: added failsafe in EQS editor for recreating missing nodes
CL# 2467466: fixed recreating test nodes in EQS graph
CL# 2467476: disabled HPA* in pathfinding EQS test
CL# 2467508: removed hierarchical pathfinding option from EQS tests
CL# 2468574: EQS generators will now cache NavLocation of items if navmesh projection is enabled (crash fix)

[CL 2472208 by Lukasz Furman in Main branch]
2015-03-09 05:40:56 -04:00
Lukasz Furman
dcd7345250 unified shared parts of AI editors (nested nodes, copy/paste/drag operations)
[CL 2456137 by Lukasz Furman in Main branch]
2015-02-23 10:30:16 -05:00
Lukasz Furman
e526880df3 restoring behavior tree graph nodes when loaded asset has tree structure, but without visual representation
UE-7549

[CL 2408823 by Lukasz Furman in Main branch]
2015-01-16 09:55:08 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Thomas Sarkanen
0f1f095b18 Breaking behavior tree links is now undo-able
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]
2014-10-07 07:37:03 -04:00
Lukasz Furman
fcac4c0192 internal tasks & decorators of AITest project are now hidden in BT editor
[CL 2308986 by Lukasz Furman in Main branch]
2014-09-24 18:27:21 -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
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
Daniel Broder
9f50173ccf Merging using UE4-Fortnite-To-UE4 from CL 2236347
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]
2014-08-06 16:12:41 -04:00
Thomas Sarkanen
ff7d2bdb1b Added Behavior Tree execution order index widgets
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]
2014-07-22 04:03:40 -04:00
Thomas Sarkanen
2deeef13ed Added Behaviour Tree node tooltips
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]
2014-07-18 03:43:16 -04:00
Thomas Sarkanen
8768e7923b Managing and creating Blackboard asset improvements
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]
2014-06-27 06:25:31 -04:00
Thomas Sarkanen
6065f0f7d6 Behavior Tree nodes are now categorized
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]
2014-06-26 08:16:03 -04:00
Thomas Sarkanen
4ef14c1da5 Prevented behavior tree nodes from going pink after undo
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]
2014-06-26 06:15:25 -04:00
Michael Noland
8e21e38390 Editor: Add UFactory::CanCreateNew and make bCreateNew a protected member
[CL 2117678 by Michael Noland in Main branch]
2014-06-26 02:59:25 -04:00