Files
UnrealEngineUWP/Engine/Source/Runtime/LiveLinkInterface/Private/LiveLinkSourceSettings.cpp
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

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