UK2Node_CallFunction::EnsureFunctionIsInBlueprint checks for the self pin being connected, if it is it will not change the function reference.
#jira UE-17073 - Duplicated blueprints cannot access casted class nodes
[CL 2606495 by Michael Schoell in Main branch]
Added FText::IsLetter to check a TCHAR to see if it is a letter according to ICU.
#jira UE-17396 - Math Expression Node does not support unicode variable names
[CL 2606453 by Michael Schoell in Main branch]
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]
change summary:
- restored modification to FDynamicOutputHelper::GetPinClass() to include object reference pin types
- restored modification to FDynamicOutputHelper::IsTypePickerPin() to include the PC_Object category
- restored modification to the UGameplayStatics::GetObjectClass() UFUNCTION declaration to include 'DeterminesOutputType' metadata
- modified FDynamicOutputHelper::GetPinClass() to consider connections to a literal 'self' reference; resolves a potential BP compilation error that was introduced with the initial fix
#codereview Mike.Beach, Dan.OConnor
[CL 2605968 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]
UK2Node_CallFunction::EnsureFunctionIsInBlueprint will check the function's owner class to see if it is a child of UInterface and will not allow changes to the FunctionReference if it is.
#jira UE-17565 - Copy and pasting an interfaceCall node pasted a different node.
[CL 2604126 by Michael Schoell 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]