diff --git a/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditorCommands.cpp b/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditorCommands.cpp index 03c9c698..0dd3c784 100644 --- a/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditorCommands.cpp +++ b/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditorCommands.cpp @@ -35,6 +35,9 @@ #include "SGEditor/SGSkeletonEditorCommands.h" +#include "Framework/Notifications/NotificationManager.h" +#include "Widgets/Notifications/SNotificationList.h" + #define LOCTEXT_NAMESPACE "SkeletonEditorCommands" FSGSkeletonEditorCommands::FSGSkeletonEditorCommands() @@ -73,6 +76,13 @@ void FSGSkeletonEditorCommands::RegisterCommands() CommandList->MapAction(UpdateSkeletonReferencePose, FExecuteAction::CreateLambda([&]()-> void { + FMessageDialog::Open(EAppMsgType::Ok, FText::FromString( + FString( + "In order to apply the current skeleton pose as the default" + " reference pose permanently, first right click on the Skeleton asset in" + " the content browser, then choose Update Skeleton Reference Pose from" + " the context menu. Finally, if you wish the changes to persist, save" + " the asset."))); } ), FCanExecuteAction::CreateLambda([&]()-> bool