From 3269fd523e11d34c6675d18670a8a19d57f98762 Mon Sep 17 00:00:00 2001 From: jehret <ehret@vr.rwth-aachen.de> Date: Mon, 15 Jan 2024 17:14:27 +0100 Subject: [PATCH] minor change to avoid access violations for deleted logobjects + some formatting --- Source/StudyFrameworkPlugin/Public/Logging/SFLogObject.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/StudyFrameworkPlugin/Public/Logging/SFLogObject.h b/Source/StudyFrameworkPlugin/Public/Logging/SFLogObject.h index 764e808..43d9938 100644 --- a/Source/StudyFrameworkPlugin/Public/Logging/SFLogObject.h +++ b/Source/StudyFrameworkPlugin/Public/Logging/SFLogObject.h @@ -23,13 +23,13 @@ public: } // Specifies Logging Frequency in ms UPROPERTY(BlueprintReadOnly, VisibleAnywhere) - int32 LogTimer; + int32 LogTimer; bool LogNextTick; UPROPERTY(BlueprintReadOnly, VisibleAnywhere) - USceneComponent* ComponentToLog; + USceneComponent* ComponentToLog; UPROPERTY(BlueprintReadOnly, VisibleAnywhere) - FString LogName; + FString LogName; FDateTime TimeStorage; }; @@ -71,6 +71,7 @@ private: void CreatePositionLogFile(); void CreateGazeTrackingLogFile(); + UPROPERTY() TArray<FComponentLoggingInformation> ComponentLoggingInfoArray; FDateTime StaticDateTime; bool bLoggingLoopsActive = false; -- GitLab