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]
#jira UE-16867 - Selecting 'Expand Node' from the right-click menu on a function or math expression node does not function correctly
[CL 2607662 by Michael Schoell 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]
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]
Moved the "GoToDocumentation" command from MaterialEditorCommands up to GraphEditorCommands.
#jira UE-11783 - Right click on BP nodes should offer link to API docs for node.
[CL 2506859 by Michael Schoell in Main branch]
#change UK2Node_CallFunction::GetFunctionGraph now returns the proper graph from whatever Blueprint the function belongs to
#change Cleaned up double clicking on function call nodes
#ttp 316688 - UE4: BLUEPRINTS: Go to definition behavior should be available in the right-click context menu for function calls
[CL 2270980 by Michael Schoell in Main branch]
#Branch UE4
#Proj BlueprintGraph, GraphEditor, Kismet, UnrealEd
#Summary Added code to navigate the users IDE to native functions and variables. Added options in the graph and myblueprint node context menus to navigate to the native code they represent.
#Add Added function FSourceCodeNavigation::NavigateToProperty to locate and open the header file where the variable is defined.
#Add Added function FSourceCodeNavigation::NavigateToFunction to locate the source code from the symbolmap and open the IDE at the definition location.
#Change Moved the code used to determine the correct modulename from FSourceCodeNavigation::GatherFunctionsForActors to FSourceCodeNavigation::FindClassModuleName so other functions didn't have to replicate the code.
#Change added Goto Code Definition for native variable nodes and native call_function nodes in the blueprint graph node context menu.
#Change added Goto Code Definition for native variables in the myblueprint node context menu.
#Add Added GotoNativeFunctionDefinition, IsSelectionNativeFunction, GotoNativeVariableDefinition and IsSelectionNativeVariable to FBlueprintEditor so the context menu actions can call these functions to goto source code.
ReviewedBy Chris.Wood
[CL 2044026 by Ben Cosh in Main branch]