You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Add function name / asset name to ensure
[CL 30983446 by robert millar in 5.4 branch]
This commit is contained in:
@@ -403,7 +403,11 @@ void UK2Node_FunctionEntry::AllocateDefaultPins()
|
||||
Super::AllocateDefaultPins();
|
||||
|
||||
if (FFunctionEntryHelper::RequireWorldContextParameter(this)
|
||||
&& ensure(!FindPin(FFunctionEntryHelper::GetWorldContextPinName())))
|
||||
&& ensureMsgf(!FindPin(FFunctionEntryHelper::GetWorldContextPinName()),
|
||||
TEXT("%s: World context parameter pin already exiss on function entry node %s"),
|
||||
*GetOutermost()->GetName(),
|
||||
*(CustomGeneratedFunctionName.IsNone() ? FunctionReference.GetMemberName() : CustomGeneratedFunctionName).ToString()
|
||||
))
|
||||
{
|
||||
UEdGraphPin* WorldContextPin = CreatePin(
|
||||
EGPD_Output,
|
||||
|
||||
Reference in New Issue
Block a user