This allows straightening of connections between all selected nodes in a graph, as well as specific connections between pins (by right clicking on the pin).
Existing alignment routines now align to the clicked-on node, where applicable, and use an average where this is not available.
Added icons for all blueprint alignment commands.
[CL 2690063 by Andrew Rodham in Main branch]
change summary:
- deprecated the 'UEdGraphNode::bIsNodeEnabled' flag & added fixup code for serialization (load)
- added support for pruning "disabled" nodes at compile time w/o breaking existing flow in the source graph.
- modified function call nodes to look for new "DevelopmentOnly" UFUNCTION metadata and disable when found.
- added UEdGraphNode::IsNodeEnabled(), Enable() and Disable() APIs. also added a new 'bUserSetEnabledState' flag.
- added the UEdGraphNode::IsDevelopmentMode() API; subclasses can override to provide additional functionality if necessary.
- added a new 'UCookerSettings::bCompileBlueprintsInDevelopmentMode' flag to control whether or not Blueprints are compiled in development mode at cook time (accessible in Project Settings->Cooker); defaults to OFF.
- (experimental) added a "Compile Options" section to the Blueprint graph node context menu to allow users to explicitly enable or disable nodes.
- (experimental) added a BPGC setting to allow users to optionally override the cooker default setting for the development/release compile switch (UE-12270, WiP).
- the experimental features above are gated by a new 'UBlueprintEditorSettings::bAllowExplicitImpureNodeDisabling flag' (accessible in Editor Settings->Blueprint Editor); defaults to OFF for now.
[CL 2661302 by Phillip Kavan in Main branch]
Standard options are available:
- Align top/middle/bottom/left/center/right
- Distribute horizontally/vertically
[CL 2656025 by Andrew Rodham in Main branch]
Option only appears when available, will pull the default value over.
#jira UE-6273 - BLUEPRINTS: Add "promote to local var" context menu option
[CL 2584770 by Michael Schoell in Main branch]
Fixed localization display issue for enums in the UI.
#jira UE-12504 - Node enum drop down boxes should utilize tooltips for each value
[CL 2580309 by Michael Schoell in Main branch]
Localization fixes for Find-in-Blueprints so it will again search the current and native language.
CallFunction and CustomEvents now store their non-friendly "native" names. These will not actually appear in search results, but will be compared while searching to determine if the node matches the results.
Gathering Blueprint search data will now force friendly names to true while it gathers so gathered data does not differ based on the setting.
#jira UE-15901 - Right click a custom event to get a list of all blueprints that are calling the custom event
[CL 2572814 by Michael Schoell in Main branch]
#jira UE-16029 - material editor node comment boxes go away every time you re-open material
#reviewedby Ben.Cosh, Matthew.Griffin
[CL 2570441 by Richard TalbotWatkin in Main branch]
Early version:
- New BP types: Asset and AssetClass
- Now implicit conversion (in Blueprint) from Asset to Object
- Explicit conversion node: K2Node_ConvertAsset
- EX_AssetConst script instruction to store StringAssetReference in bytecode.
#codereview Nick.Whiting, Mike.Beach
[CL 2553506 by Maciej Mroz in Main branch]
#UE-9118 - Graph comments (Blueprints, Materials, Sound cues, etc...) should support multiline text editing
#UE-12964 - Comment box hits (Title bar) are offset
#Branch UE4
#Proj GraphEditor, Kismet, Slate
[CL 2546952 by Ben Cosh 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]
Fallout from CL# 2535806
#jira UE-15170 - When in PIE, Blueprints display as disabled making them difficult to debug.
[CL 2541246 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]
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).
EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.
Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)
GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.
This addresses UETOOL-270 (Most editor preferences should be project-agnostic)
[CL 2517558 by Andrew Rodham in Main branch]