[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]
UETOOL-298 - The "step into"/out/over buttons in the Behavior Tree enable and disable all the time
The "Back: Over" and "Forward: Over" step options are now able to perform a step that means they move back up to a parent tree. Previously this was being disallowed as the they were incorrectly treating that as entering a sub-tree.
If you pause your PIE session, the behavior tree debugger will now make sure and open the correct graph. Previously you could pause while within a sub-tree and the view would be left on the parent graph.
[CL 2547021 by Jamie Dale in Main branch]
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]
Reworked how graphs were disabled to stop all out disabling of the SGraphPanel while still maintaining the visual display of being read-only.
Removed concept of TitleBarEnabledOnly from the graph editor and merged it with the IsEditable functionality.
#jira UE-10289 - Changing Blueprint Interface layout can shift nodes out of view
[CL 2535806 by Michael Schoell in Main branch]
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]
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]
#UE-12866 - Have node comments and reroute node comments act the same
#Branch UE4
#Proj Engine, GraphEditor
#includes some more general comment node / comment bubble fixes
[CL 2528202 by Ben Cosh in Main branch]
FNumberFormattingOptions now provides a convenient way to create a default number formatter that doesn't use grouping (FNumberFormattingOptions::DefaultNoGrouping()), as well as one that does (FNumberFormattingOptions::DefaultWithGrouping()).
This also improves the performance when using the default formatting options, by caching the formatters used by those options. This helps greatly when using Blueprint formatting (see KismetTextLibrary.cpp) as these were always creating custom formatters for every operations, which is a *very* expensive thing to do.
To improve the cases where you are frequently re-using a custom set of formatting options, we also have a LRU cache of the most recently used formatting options which we check before creating a new custom formatter.
[CL 2519071 by Jamie Dale in Main branch]
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]
#UE-13299 - Comments and comment balloons don't obey colors set in editor preferences
#Branch UE4
#Proj BehaviourTreeEditor, EnvironmentQueryEditor, GraphEditor
#codereview Dan.Oconnor
[CL 2505562 by Ben Cosh in Main branch]
I have reviewed each change carefully, but it is a large change and I could have missed something! Here is a summary of the types of changes in this CL:
* Made nullptr checks consistent (the plurality of the changes are of this type)
* Completed switch statements (IE, switch did not explicitly handle default case, but had unhandled enum entries - this is the second most popular type of fix)
* Removed unused variables
* Removed redundant initializations
* WidgetNavigationCustomization.cpp was fixed by the owner
* integers converted to floats where result was stored in a float
* Removed redundent null checks (e.g. before delete statements)
* Renamed variables to prevent non-obvious shadowing
* Fixed use of bitwise & when checking for equality to an enum entry (which is often 0)
* Fixes for some copy paste errors (e.g. FoliageEdMode.cpp)
[CL 2498053 by Dan Oconnor in Main branch]
Consistent null checks, fixes for copy/pasted conditions, copy pasted LOCTEXT identifiers, comparisons against literals of the wrong type, missing return statements, dead code, and some system calls that were ignoring their return value
[CL 2494390 by Dan Oconnor in Main branch]
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]
https://github.com/EpicGames/UnrealEngine/pull/946
I have gone through these changes and verified that whatever behavior change they cause could only be an improvement (generally they just prevent possible access to nullptrs, but there are also some style corrections). A separate changelist is being prepared that includes changes that could unintentionally caues behavior change for the worse.
[CL 2486801 by Dan Oconnor in Main branch]