Skip to content

Commit

Permalink
[Assets] PackAssets: Use proper asset path when computing resources r…
Browse files Browse the repository at this point in the history
…elative paths (fixes #326)
  • Loading branch information
xen2 committed Jan 19, 2019
1 parent 8133146 commit 5109915
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void TryCopyResource(UFile resourceFilePath, UFile targetFilePath)
targetResourcePath = UPath.Combine(resourceOutputPath, (UFile)sourceResourcePath.GetFileName());
TryCopyResource(sourceResourcePath, targetResourcePath);
}
var newValue = targetResourcePath.MakeRelative(assetOutputPath);
var newValue = targetResourcePath.MakeRelative(outputFile.GetFullDirectory());
if (scalar.Value != newValue)
{
hasChanges = true;
Expand Down

0 comments on commit 5109915

Please sign in to comment.