Commit Graph

19 Commits

Author SHA1 Message Date
Lukasz Furman
25b22b990a fixed order of behavior tree nodes when creating a new node from existing pin
#ue4 UE-17114

[CL 2593361 by Lukasz Furman in Main branch]
2015-06-19 09:18:09 -04:00
Chris Wood
5707adde06 Fixed titles on Material editor nodes to update when the pin connections change.
[UE-15352] - Math Nodes are not updating on input

#change NodeConnectionListChanged() method in UMaterialGraphNode now clears the visualization cache on the schema triggering all FText attributes on the node's widgets to update.

[CL 2549543 by Chris Wood in Main branch]
2015-05-13 16:26:28 -04:00
Michael Schoell
db9c8e2240 UProperty and UFunction metadata for Category can now be localized and have improved FText usage throughout the editor (Blueprints, Behavior Trees, Materials, etc).
Big conversion of FStrings and FNames to FText.

Version bump to move some MaterialFunction UProperty from a TArray<FString> to TArray<FText> (some Engine assets are older than being allowed to auto-convert the UProperty)

Auto conversion of FName to FText (and back) now supported (as well as TArrays of those types).

Searching categories by both the localized string and the source string is now supported in Blueprints.

#jira UE-14481 - We are missing ability to translate node categories

#codereview Justin.Sargent

[CL 2542875 by Michael Schoell in Main branch]
2015-05-08 10:46:42 -04:00
Jamie Dale
0ca520a77e Improved diffing of behavior tree graphs
UETOOL-292 - Diffing of Behavior Trees doesn't work correctly

- Added support for diffing decorators and services.
- Ensured that you could see the properties of services and decorators in the diff tool.
    - This is now using common code shared with the behavior tree editor (to avoid this getting out of sync again).
- Fixed an issue where nodes containing changes could still be drawn faded out.
    - The "DiffR_" functions in GraphDiffControl weren't marking the node as changed since the diff results couldn't hold the information.
- Fixed SNodePanel::DeferredMovementTargetObject always moving the selection into view (rather than itself).
- Added a way to move to a node without also selecting it (SNodePanel::CenterObject).
    - This is needed as decorators and services don't exist as top-level nodes in the SNodePanel, so can't be centered on. We instead have to center on their container node.
- Added a way to control what items you want to diff.
    - This helps when checking for nodes that have been removed, as you can now avoid having to re-check all the other properties on the node, and just check for their existence (or lack thereof).

[CL 2533378 by Jamie Dale in Main branch]
2015-05-01 06:38:56 -04:00
Jamie Dale
9968a0a15c Some workflow and performance improvements for behavior trees and environmental queries
UETOOL-293 - Behavior Tree Editor is sluggish

- Made the behavior tree and environmental query pins larger so they're easier to grab.
- Adjusted the node padding so that we don't add the padding for the pins when there aren't any pins.
- Added lodding so that node elements are culled out as you zoom out (to improve performance).
- Fixed connections being culled when they were still visible.

[CL 2528547 by Jamie Dale in Main branch]
2015-04-28 11:13:20 -04:00
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
63b7360ae0 Removed the Blueprint Editor's legacy node menu system.
#jira UE-13391 - Delete old BP menu system (is causing confusion)

#codereview Mike.Beach

[CL 2514361 by Michael Schoell in Main branch]
2015-04-16 11:47:54 -04:00
Michael Schoell
11bbd9aa06 Using the up and down arrow keys for selection in the MyBlueprint window will correctly select them.
Refactored logic for what selection type is allowed in a SGraphActionMenu to the widgets that react to the selection.

#jira UE-11644 - Selected BP Variables do not refresh details properly

[CL 2493909 by Michael Schoell in Main branch]
2015-03-27 11:43:37 -04:00
Michael Noland
3c77014348 Graph Editor: Add experimental support for hovering and interacting with splines
- Currently gated by a setting in Editor Preferences..Graph Editors
- Alt+LMB Click on the spline to break the connection
- Ctrl+LMB Click on the spline to move the connection to a different pin
- Hover over the spline to highlight it

[CL 2483923 by Michael Noland in Main branch]
2015-03-18 21:37:27 -04:00
Thomas Sarkanen
f17485c562 Fix deleted behavior tree blueprint nodes showing up in context menu
By the time assets are deleted, ResolveName() will not return the object name as the underlying package is no longer there, so it will not get deleted form the class tree. Performing direct string manupulation on the object path avoids this.

UE-8201 - Task node blueprints remain active in the context menu after they are deleted.

[CL 2482961 by Thomas Sarkanen in Main branch]
2015-03-18 09:44:48 -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
ac12138192 composite EQS generator can be used from editor, custom display names for existing generators
#ue4

[CL 2477000 by Lukasz Furman in Main branch]
2015-03-12 12:26:19 -04:00
Lukasz Furman
23aaaaf7da EQS graph restoring code will now be able to deal with missing option nodes
#ue4

[CL 2473690 by Lukasz Furman in Main branch]
2015-03-10 09:38:12 -04:00
Lukasz Furman
64cf0d0125 fixed double click event on AI graph subnodes
#ue4

[CL 2473638 by Lukasz Furman in Main branch]
2015-03-10 08:22:06 -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