You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
New blueprint context menu will no longer allow you to create multiple matinee controllers for one asset in the level blueprint. Behavior is slightly different from old context menu, when you attempt to create the second controller the blueprint editor will highlight it (just as if you tried to create a second event node)
[CL 2316680 by Dan Oconnor in Main branch]
This commit is contained in:
@@ -38,6 +38,22 @@ FBlueprintNodeSignature UBlueprintBoundNodeSpawner::GetSpawnerSignature() const
|
||||
return FBlueprintNodeSignature();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
UEdGraphNode* UBlueprintBoundNodeSpawner::Invoke(UEdGraph* ParentGraph, FBindingSet const& Bindings, FVector2D const Location) const
|
||||
{
|
||||
UEdGraphNode* Result = nullptr;
|
||||
if( FindPreExistingNodeDelegate.IsBound() )
|
||||
{
|
||||
UBlueprint* Blueprint = FBlueprintEditorUtils::FindBlueprintForGraphChecked(ParentGraph);
|
||||
Result = FindPreExistingNodeDelegate.Execute( Blueprint, Bindings );
|
||||
}
|
||||
if( Result == nullptr)
|
||||
{
|
||||
Result = UBlueprintNodeSpawner::Invoke( ParentGraph, Bindings, Location );
|
||||
}
|
||||
return Result;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
bool UBlueprintBoundNodeSpawner::IsBindingCompatible(UObject const* BindingCandidate) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user