From 2c395fc97fbbac16f5d7a74fe813da1e2c8e7726 Mon Sep 17 00:00:00 2001
From: "jonathan.ehret" <ehret@vr.rwth-aachen.de>
Date: Tue, 7 Mar 2023 20:17:54 +0100
Subject: [PATCH] remove debug code from backchannel nodding

---
 Source/CharacterPlugin/Private/VHListenerBackchannels.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Source/CharacterPlugin/Private/VHListenerBackchannels.cpp b/Source/CharacterPlugin/Private/VHListenerBackchannels.cpp
index 470ae2e0..d9aca1b4 100644
--- a/Source/CharacterPlugin/Private/VHListenerBackchannels.cpp
+++ b/Source/CharacterPlugin/Private/VHListenerBackchannels.cpp
@@ -49,12 +49,7 @@ void UVHListenerBackchannels::TickComponent(float DeltaTime, ELevelTick TickType
 			float HeadPitch = - cos((NoddingTime * 2 * PI) / ActualNodDuration) * ActualNodAmplitude + ActualNodAmplitude;
 			//decrease over time, e.g., if more than one nod is played
 			HeadPitch *= (ActualNodLength - NoddingTime) / ActualNodLength; 
-			/*if (ActualNodLength>ActualNodDuration)
-			{
-				HeadPitch *= (ActualNodLength - NoddingTime) / ActualNodLength; //decrease over time if more than one nod is played
-			}*/
 			AnimInstance->SkelControl_Head.Roll = HeadPitch; //is actually the pitch
-			VH_DEBUG("Pitch: %f", HeadPitch);
 		}
 
 	}
-- 
GitLab