Skip to content
Snippets Groups Projects
Commit 6ded2f7e authored by Malte Christian Kögel's avatar Malte Christian Kögel
Browse files

Added quick fix for header files breaking GenerateTestStudyRuns....

Added quick fix for header files breaking GenerateTestStudyRuns. GenerateTestStudyRuns still does not work because of EyeTracking but if this is changed in the future, it should work with the Header writing as well. Possibly later: proper fix by moving WriteHeaderRows call somewhere else.
parents cd2fa0d4 a8836668
Branches
Tags
1 merge request!2GazeTracking Logging
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
...@@ -35,8 +35,15 @@ bool USFParticipant::Initialize(int Participant) ...@@ -35,8 +35,15 @@ bool USFParticipant::Initialize(int Participant)
"GazeTracking" + Filename, false); "GazeTracking" + Filename, false);
} }
StartTime = FPlatformTime::Seconds(); StartTime = FPlatformTime::Seconds();
if (USFGameInstance::Get())
{
USFGameInstance::Get()->GetLogObject()->WritePositionLogHeaderRow(); USFGameInstance::Get()->GetLogObject()->WritePositionLogHeaderRow();
USFGameInstance::Get()->GetLogObject()->WriteGazeTrackingLogHeaderRow(); USFGameInstance::Get()->GetLogObject()->WriteGazeTrackingLogHeaderRow();
}
else
{
FSFLoggingUtils::Log("GameInstance not set up yet, no header rows are written to participant logs.");
}
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment