Copying //UE4/Release-Staging-4.12 to //UE4/Dev-Main

#lockdown Nick.Penwarden

(Will update with full description tomorrow)

[CL 2984534 by Matthew Griffin in Main branch]
This commit is contained in:
Matthew Griffin
2016-05-19 19:35:35 -04:00
committed by Matthew.Griffin@epicgames.com
parent 85ddd46e68
commit f180dff107
726 changed files with 62576 additions and 11325 deletions
@@ -33,13 +33,19 @@ void FEmitDefaultValueHelper::OuterGenerate(FEmitterLocalContext& Context
return false;
};
check(Property);
if (Property->HasAnyPropertyFlags(CPF_EditorOnly | CPF_Transient))
{
UE_LOG(LogK2Compiler, Verbose, TEXT("FEmitDefaultValueHelper Skip EditorOnly or Transient property: %s"), *Property->GetPathName());
return;
}
if (Property->IsA<UDelegateProperty>() || Property->IsA<UMulticastDelegateProperty>())
{
UE_LOG(LogK2Compiler, Verbose, TEXT("FEmitDefaultValueHelper delegate property: %s"), *Property->GetPathName());
return;
}
for (int32 ArrayIndex = 0; ArrayIndex < Property->ArrayDim; ++ArrayIndex)
{
if (!OptionalDefaultDataContainer