You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Duplicating an interface function no longer duplicates the pins on the graph
When the schema duplicates a graph, have it path up all function terminators, not just the entry. When an interface graph is duplicated, check to make sure a user defined pin exists first before adding it. #jira UE-79032 #jira UE-58390 #rb Marc.Audy [CL 8126934 by Ben Hoffman in Dev-Framework branch]
This commit is contained in:
@@ -271,6 +271,13 @@ bool UK2Node::CreatePinsForFunctionEntryExit(const UFunction* Function, bool bFo
|
||||
{
|
||||
UProperty* Param = *PropIt;
|
||||
|
||||
// Don't create a new pin if one exists already!
|
||||
// @see UE-79032, UE-58390
|
||||
if (FindPin(Param->GetFName()))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
const bool bIsFunctionInput = !Param->HasAnyPropertyFlags(CPF_OutParm) || Param->HasAnyPropertyFlags(CPF_ReferenceParm);
|
||||
|
||||
if (bIsFunctionInput == bForFunctionEntry)
|
||||
|
||||
Reference in New Issue
Block a user