You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
22 lines
753 B
C++
22 lines
753 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "LiveLinkSourceSettings.h"
|
|
#include "UObject/EnterpriseObjectVersion.h"
|
|
|
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
|
void ULiveLinkSourceSettings::Serialize(FArchive& Ar)
|
|
{
|
|
Super::Serialize(Ar);
|
|
|
|
// LiveLinkSourceSettings aren't persistently stored by the engine,
|
|
// but they could have been elsewhere.
|
|
|
|
Ar.UsingCustomVersion(FEnterpriseObjectVersion::GUID);
|
|
#if WITH_EDITORONLY_DATA
|
|
if (Ar.IsLoading() && FEnterpriseObjectVersion::LiveLinkTimeSynchronization > Ar.CustomVer(FEnterpriseObjectVersion::GUID))
|
|
{
|
|
Mode = InterpolationSettings.bUseInterpolation_DEPRECATED ? ELiveLinkSourceMode::Interpolated : ELiveLinkSourceMode::Default;
|
|
}
|
|
#endif
|
|
}
|
|
PRAGMA_ENABLE_DEPRECATION_WARNINGS |