You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Control Rig: Fix crash when collapsing to function
#jira UE-161884 #rb jack.cai, benoit.gadreau #preflight 6307907aec6059cd2a088e27 [CL 21587220 by sara schvartzman in ue5-main branch]
This commit is contained in:
@@ -9283,7 +9283,10 @@ bool URigVMController::AddLink(URigVMPin* OutputPin, URigVMPin* InputPin, bool b
|
||||
URigVMPin* SecondToResolve = (FirstToResolve == OutputPin) ? InputPin : OutputPin;
|
||||
if (!PrepareToLink(FirstToResolve, SecondToResolve, bSetupUndoRedo))
|
||||
{
|
||||
ActionStack->CancelAction(Action, this);
|
||||
if (bSetupUndoRedo)
|
||||
{
|
||||
ActionStack->CancelAction(Action, this);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user