From 1db0a59cd92a01ebe49017b0f5bd85b23dbe2d9c Mon Sep 17 00:00:00 2001
From: David Gilbert <gilbert@vr.rwth-aachen.de>
Date: Mon, 8 Jul 2024 13:55:21 +0200
Subject: [PATCH] fix(interaction): Fixes wrong EventType being used in
 DirectInteractionComponent.cpp (start instead of end).

---
 .../Interaction/Interactors/DirectInteractionComponent.cpp      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Source/RWTHVRToolkit/Private/Interaction/Interactors/DirectInteractionComponent.cpp b/Source/RWTHVRToolkit/Private/Interaction/Interactors/DirectInteractionComponent.cpp
index 4b7af769..efa71e26 100644
--- a/Source/RWTHVRToolkit/Private/Interaction/Interactors/DirectInteractionComponent.cpp
+++ b/Source/RWTHVRToolkit/Private/Interaction/Interactors/DirectInteractionComponent.cpp
@@ -140,7 +140,7 @@ void UDirectInteractionComponent::OnEndInteractionInputAction(const FInputAction
 	{
 		if (Component.IsValid())
 		{
-			Component->HandleOnActionEvents(this, EInteractorType::Direct, EInteractionEventType::InteractionStart,
+			Component->HandleOnActionEvents(this, EInteractorType::Direct, EInteractionEventType::InteractionEnd,
 											Value);
 		}
 	}
-- 
GitLab