Files
UnrealEngineUWP/Engine/Source/Runtime/LiveLinkInterface/Private/LiveLinkSourceSettings.cpp
Chris Gagnon 8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -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