Skip to content
Snippets Groups Projects
Commit 9a0f3b51 authored by Patrick Nossol's avatar Patrick Nossol
Browse files

changed two outputs to only show when property is set

parent b01fa91f
Branches
No related tags found
No related merge requests found
......@@ -19,7 +19,6 @@ public class MoCapPlugin : ModuleRules
{
"Core",
"UMG",
//"NDisplayLaunchButton",
"RWTHVRToolkit",
"SteamVR",
"SteamVRInputDevice",
......
......@@ -166,7 +166,7 @@ void AMCController::SaveToAnimMode() {
InstructionWidget->FeedbackText->SetText(FText::FromString("Saved!"));
InstructionWidget->WidgetSwitcher->SetActiveWidgetIndex(InstructionWidget->StartIndex);
}
if (GEngine) {
if (GEngine && OutputMsgOnScreen) {
GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Green, FString::Printf(TEXT("Animation Saved!")));
}
}
......@@ -1636,7 +1636,7 @@ void AMCController::SaveAnimation(float StartHaltingPoint, float EndHaltingPoint
if (InstructionWidget) {
InstructionWidget->WidgetSwitcher->SetActiveWidgetIndex(InstructionWidget->SavingIndex);
}
if (GEngine) {
if (GEngine && OutputMsgOnScreen) {
GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Green, FString::Printf(TEXT("Saving Animation...")));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment