You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
28 lines
762 B
C++
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
|
|
|