Skip to content
Permalink
Browse files

[Assets] PackAssets: Use proper asset path when computing resources r…

…elative paths (fixes #326)
  • Loading branch information
xen2 committed Jan 19, 2019
1 parent 8133146 commit 5109915edbd514e154ebc3e914a49f036f392fee
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/assets/Xenko.Core.Assets.CompilerApp/Tasks/PackAssets.cs
@@ -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;

0 comments on commit 5109915

Please sign in to comment.
You can’t perform that action at this time.