You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#UE4 Fix issue where when using -FixupStringAssetReferences, it would fixup the references inside the package, but not the package header. Now the code that finds string asset references for the package header calls the redirector callback
#codereview michael.noland, Jaroslaw.Palczynski -------- Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2672504 by Ben.Zeigler on 2015/08/28 12:43:30. [CL 2673370 by Ben Zeigler in Main branch]
This commit is contained in:
committed by
Ben.Zeigler@epicgames.com
parent
a939d907d6
commit
2b5d68fd4f
@@ -723,7 +723,13 @@ public:
|
||||
{
|
||||
if (Value.IsValid())
|
||||
{
|
||||
const FString& Path = Value.ToString();
|
||||
FString Path = Value.ToString();
|
||||
if (FCoreUObjectDelegates::StringAssetReferenceSaving.IsBound())
|
||||
{
|
||||
// This picks up any redirectors
|
||||
Path = FCoreUObjectDelegates::StringAssetReferenceSaving.Execute(Path);
|
||||
}
|
||||
|
||||
if (GetIniFilenameFromObjectsReference(Path) != nullptr)
|
||||
{
|
||||
StringAssetReferencesMap.AddUnique(Path);
|
||||
|
||||
Reference in New Issue
Block a user