You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
TTP #325423: Making it so we correctly identify which execution-pin a node was triggered from.
- Wire-trace op-codes are now inserted before every statement in GotoFixupRequestMap - ExpandNode() now uses FKismetCompilerContext::MovePinLinksToIntermediate/CopyPinLinksToIntermediate for transfering pin links (to track pin associations) #codereview Nick.Whiting [CL 2040798 by Mike Beach in Main branch]
This commit is contained in:
@@ -139,7 +139,7 @@ void UK2Node_GetEnumeratorName::ExpandNode(class FKismetCompilerContext& Compile
|
||||
UEdGraphPin* OrgReturnPin = FindPinChecked(Schema->PN_ReturnValue);
|
||||
UEdGraphPin* NewReturnPin = CallGetName->GetReturnValuePin();
|
||||
check(NULL != NewReturnPin);
|
||||
CompilerContext.CheckConnectionResponse(Schema->MovePinLinks(*OrgReturnPin, *NewReturnPin), this);
|
||||
CompilerContext.MovePinLinksToIntermediate(*OrgReturnPin, *NewReturnPin);
|
||||
|
||||
//ENUM PIN
|
||||
UEdGraphPin* EnumPin = CallGetName->FindPinChecked(TEXT("Enum"));
|
||||
@@ -150,7 +150,7 @@ void UK2Node_GetEnumeratorName::ExpandNode(class FKismetCompilerContext& Compile
|
||||
UEdGraphPin* OrgInputPin = FindPinChecked(EnumeratorPinName);
|
||||
UEdGraphPin* IndexPin = CallGetName->FindPinChecked(TEXT("EnumeratorIndex"));
|
||||
check(EGPD_Input == IndexPin->Direction && Schema->PC_Byte == IndexPin->PinType.PinCategory);
|
||||
CompilerContext.CheckConnectionResponse(Schema->MovePinLinks(*OrgInputPin, *IndexPin), this);
|
||||
CompilerContext.MovePinLinksToIntermediate(*OrgInputPin, *IndexPin);
|
||||
|
||||
if (!IndexPin->LinkedTo.Num())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user