change summary:
- added a new "InternalUseParam" UFUNCTION() meta to support tagging function parameters as internal use only (=> hidden | not connectable)
- added a UK2Node_CallFunction::IsConnectionDisallowed() override method; returns 'true' if the 'bNotConnectable' flag is set on the node's pin (and will emit a compile error in existing projects if something is connected to it)
- modified FBlueprintEditorUtils::GetHiddenPinsForFunction() to accept an optional 'InternalPins' TSet as an output; on return, this will contain the subset of hidden pins that are marked as "InternalUseParam"
- modified UK2Node_CallFunction::CreatePinsForFunctionCall() to set the 'bNotConnectable' pin attribute to 'true' if "InternalUseParam == '<PinName>'" is included within the UFunction metadata
- modified the AActor::AddComponent UFUNCTION() decl to switch the "HidePin" meta to "InternalUseParam" for the 'ComponentTemplateContext' parameter (because it should not be connectable)
- modified UK2Node_CallFunction::NotifyPinConnectionListChanged() to refresh the node to hide pins corresponding to internal-only params once the (invalid) connection in an existing project has been broken
#codereview Mike.Beach
[CL 2606203 by Phillip Kavan in Main branch]
New FunctionMetadta "BlueprintAutocast" was added.
todo: add warning in UHT
todo: remove hardcoded functions from UEdGraphSchema_K2::SearchForAutocastFunction
#codereview Mike.Beach
[CL 2604137 by Maciej Mroz in Main branch]
Changed metadata lookups that were still targetting FriendlyName to lookup the DisplayName.
#jira UE-17602 - Unable to use floor() in math expression node (display name), must use ffloor()
[CL 2602420 by Michael Schoell in Main branch]
Changed the K2Node_Message to expand and attempt to cast the incoming reference as a ULevelStreaming reference, get the level script actor, and cast that to the interface.
Exposed for Blueprints (BP internal use only) ULevelStreaming::GetLevelScriptActor
All levels can now have a BP interface added to them.
#jira UE-16706 - Implement Level Blueprint Interface Communication
[CL 2597586 by Michael Schoell in Main branch]
- UE-14092 Cannot create a return node with an execution pin only for a function
- UE-7849 Being able to have multiple return nodes for a function
- minor fixes
#codereview Nick.Whiting, Mike.Beach
[CL 2595496 by Maciej Mroz in Main branch]
Cases:
- literal - "3.14"
- variable access - "MyVar"
- new local variavle - "a"
UE-17139 Math Expressions fail to compile when output pin connected
[CL 2591759 by Maciej Mroz in Main branch]
- FBPTerminal::InlineGeneratedParameter added - the result of the function is directly used as input parameter, it's not stroed in a lical variable
- FKismetFunctionContext::InlineGeneratedParameter
- MathExpressionHandler - compile (to out intermediate representation) a subgraph using "reverse polish notation" approach
- Math Expression node is not longer expanded
- VMBackend supports InlineGeneratedParameter and InlineGeneratedParameter
#codereview Nick.Whiting, Mike.Beach
[CL 2587365 by Maciej Mroz in Main branch]
The Math Expression graph will be completely missing from the diff display, it is regenerated each time and the important detail is the math expression the user inputs. The node's math expression will show up if there are differences between two Blueprints.
#jira UE-9785 - Math expression nodes always appear in BP Diff
[CL 2582830 by Michael Schoell in Main branch]
- GenericCreateObject node
- UGameplayStatics::SpawnObject function
- DontUseGenericSpawnObject class meta data
Missing: runtime mechanism to verify if an object of given class can be spawned using Generic Create Object
#codereview Nick.Whiting, Mike.Beach
[CL 2581001 by Maciej Mroz in Main branch]
Stores the UProperty of the local variable in the node spawner.
#jira UE-16062 - Local variables never appear when dragging off another pin.
[CL 2577367 by Michael Schoell in Main branch]
Fixed a localization issue with display enum values as pin names.
#jira UE-16134 - Hidden enumerator variables can cause the enumerator to become broken with the Select node in blueprints
[CL 2576970 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]
Fixed an issue where unloaded items appeared with "Error!", FriendlyName was not properly set before the description cached.
#jira UE-16285 - Searching in a type dropdown causes all type names to become blank
[CL 2570559 by Michael Schoell in Main branch]