You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-159845 #feature added context menu option(s) allowing user to add additional _named_ poses created from either ref-pose or the current viewport pose. Did not integrate pull-request code, but added behaviour that will allow for achieving the same end result. #preflight 632af593b40000c8f0bed7a5 #rb Halfdan.Ingvarsson [CL 22143321 by jurre debaare in ue5-main branch]
19 lines
974 B
C++
19 lines
974 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "PoseEditorCommands.h"
|
|
|
|
#include "Framework/Commands/InputChord.h"
|
|
#include "Framework/Commands/UICommandInfo.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "PoseEditorCommands"
|
|
|
|
void FPoseEditorCommands::RegisterCommands()
|
|
{
|
|
UI_COMMAND(PasteAllNames, "Paste All Pose Names", "Paste all pose names from clipboard", EUserInterfaceActionType::Button, FInputChord());
|
|
UI_COMMAND(UpdatePoseToCurrent, "Update Pose to Current", "Updates the selected pose to match the pose currently shown in the viewport", EUserInterfaceActionType::Button, FInputChord());
|
|
UI_COMMAND(AddPoseFromCurrent, "Add Pose from Current", "Adds a new pose matching the pose currently shown in the viewport", EUserInterfaceActionType::Button, FInputChord());
|
|
UI_COMMAND(AddPoseFromReference, "Add Pose from Reference", "Adds a new pose matching the Skeleton its reference pose", EUserInterfaceActionType::Button, FInputChord());
|
|
}
|
|
|
|
#undef LOCTEXT_NAMESPACE
|