You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user