Skip to content
Snippets Groups Projects
Commit d0302fe5 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

refactor(interaction): Fixes issue with function definition of HasInteractionTypeFlag

parent eb5eaab0
No related branches found
No related tags found
2 merge requests!107UE5.4-2024.1-rc1,!91Interaction refactoring and replication
Pipeline #426478 passed
This commit is part of merge request !91. Comments created here will be created in the context of that merge request.
......@@ -8,8 +8,6 @@
#include "Logging/StructuredLog.h"
#include "Utility/RWTHVRUtilities.h"
bool UInteractableComponent::HasInteractionTypeFlag(EInteractorType type) { return type & InteractorFilter; }
void UInteractableComponent::RestrictInteractionToComponents(const TArray<USceneComponent*>& Components)
{
if (Components.IsEmpty())
......
......@@ -55,7 +55,7 @@ public:
bool bAllowInteractionFromChildGeometry = true;
UFUNCTION(BlueprintCallable)
FORCEINLINE bool HasInteractionTypeFlag(EInteractorType type);
FORCEINLINE bool HasInteractionTypeFlag(EInteractorType Type) { return Type & InteractorFilter; }
/**
* @brief Restrict interactability to given components (e.g. if an object is grabbed, block interactions from other
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment