Skip to content

Commit

Permalink
Changed refrence time
Browse files Browse the repository at this point in the history
Changed how MobuLiveLinkPlugin reads reference time so that it reads value set by reference time provider without adjusting for system time difference.
  • Loading branch information
PatrickBoutotEpic committed Feb 18, 2020
1 parent 223462a commit 6b98b37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/Private/MobuLiveLinkDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ bool FMobuLiveLink::DeviceOperation(kDeviceOperations pOperation)

void FMobuLiveLink::SetDeviceInformation(const char* NewDeviceInformation)
{
FString VersionString("v2.2 (");
FString VersionString("v2.3 (");
VersionString += __DATE__;
VersionString += ")";
HardwareVersionInfo.SetString(FStringToChar(VersionString));
Information.SetString("Epic Games");
Information.SetString("Epic Games, Inc.");
Status.SetString(NewDeviceInformation);
}

Expand Down
2 changes: 1 addition & 1 deletion Source/Private/MobuLiveLinkUtilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ FQualifiedFrameTime MobuUtilities::GetSceneTimecode(ETimecodeMode TimecodeMode)
FBReferenceTime MobuRefTime;
if (MobuRefTime.Count > 0)
{
FBTime RefTime = MobuRefTime.GetTime(MobuRefTime.ItemIndex, FBSystem().SystemTime);
FBTime RefTime = MobuRefTime.GetTime(MobuRefTime.ItemIndex, FBTime(0));
FrameTime = FFrameTime(FrameRate.AsFrameTime(RefTime.GetSecondDouble()));
}
else
Expand Down

0 comments on commit 6b98b37

Please sign in to comment.