Back out revision 297 from //depot/UE4/Engine/Source/Programs/UnrealHeaderTool/Private/HeaderParser.cpp

The fortnite was updated, so the warning is restored.

#codereview Ben.Zeigler

[CL 2247047 by Maciej Mroz in Main branch]
This commit is contained in:
Maciej Mroz
2014-08-07 12:57:45 -04:00
committed by UnrealBot
parent eb3c464a66
commit 0781f10f49

View File

@@ -5555,7 +5555,7 @@ Found:
UProperty const* const Param = *It;
if (Param->ArrayDim > 1)
{
UE_LOG(LogCompile, Display, TEXT("Static array cannot be exposed to blueprint. Function: %s Parameter %s\n"), *TopFunction->GetName(), *Param->GetName());
FError::Throwf(TEXT("Static array cannot be exposed to blueprint. Function: %s Parameter %s\n"), *TopFunction->GetName(), *Param->GetName());
}
}
}
@@ -5904,7 +5904,7 @@ void FHeaderParser::CompileVariableDeclaration(FClasses& AllClasses, UStruct* St
if (NewProperty->HasAnyPropertyFlags(CPF_BlueprintVisible) && (NewProperty->ArrayDim > 1))
{
UE_LOG(LogCompile, Display, TEXT("Static array cannot be exposed to blueprint %s.%s\n"), *Struct->GetName(), *NewProperty->GetName());
UE_LOG(LogCompile, Warning, TEXT("Static array cannot be exposed to blueprint %s.%s\n"), *Struct->GetName(), *NewProperty->GetName());
}
} while( MatchSymbol(TEXT(",")) );