Make sure the source file always use absolute path.

#jira UE-106421
#rb julien.stjean

[CL 15154077 by Alexis Matte in ue5-main branch]
This commit is contained in:
Alexis Matte
2021-01-21 10:27:23 -04:00
parent b9be730186
commit 17b81587e8
@@ -30,9 +30,8 @@ public:
}
UInterchangeSourceData(FString InFilename)
: Filename(InFilename)
{
FileContentHashCache.Reset();
SetFilename(InFilename);
}
UFUNCTION(BlueprintCallable, Category = "Interchange | Import Manager")
@@ -54,7 +53,7 @@ public:
UFUNCTION(BlueprintCallable, Category = "Interchange | Import Manager")
FORCEINLINE bool SetFilename(const FString& InFilename)
{
Filename = InFilename;
Filename = FPaths::ConvertRelativePathToFull(InFilename);
//Reset the cache
FileContentHashCache.Reset();
return true;