Files
UnrealEngineUWP/Engine/Plugins/Animation/ControlRig/Source/ControlRigDeveloper/Private/Graph/ControlRigGraphNode.cpp
helge mathee 6b60872e12 RigVM: First steps towards rebasing ControlRigBlueprint
#rb sara.schvartzman
#jira UE-180106

[CL 26038021 by helge mathee in 5.3 branch]
2023-06-16 02:27:47 -04:00

28 lines
762 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "Graph/ControlRigGraphNode.h"
#include "Graph/ControlRigGraph.h"
#include "Graph/ControlRigGraphSchema.h"
#include "IControlRigEditorModule.h"
#include UE_INLINE_GENERATED_CPP_BY_NAME(ControlRigGraphNode)
#define LOCTEXT_NAMESPACE "ControlRigGraphNode"
UControlRigGraphNode::UControlRigGraphNode()
: URigVMEdGraphNode()
{
}
void UControlRigGraphNode::GetNodeContextMenuActions(UToolMenu* Menu, UGraphNodeContextMenuContext* Context) const
{
#if WITH_EDITOR
// todo - part of this is likely generic
const UControlRigGraphSchema* Schema = Cast<UControlRigGraphSchema>(GetSchema());
IControlRigEditorModule::Get().GetContextMenuActions(Schema, Menu, Context);
#endif
}
#undef LOCTEXT_NAMESPACE