Skip to content
Permalink
Browse files

[Assets] PackAssets: properly copy RootAssets (fixes #347)

  • Loading branch information
xen2 committed Jan 27, 2019
1 parent 989469d commit 7144d61795fa6b908443aad1589b9dfac5e17fc5
Showing with 3 additions and 0 deletions.
  1. +3 −0 sources/assets/Xenko.Core.Assets.CompilerApp/Tasks/PackAssets.cs
@@ -222,6 +222,9 @@ void TryCopyResource(UFile resourceFilePath, UFile targetFilePath)
newPackage.TemplateFolders.Add(targetFolder);
}

foreach (var rootAsset in package.RootAssets)
newPackage.RootAssets.Add(rootAsset);

// Save package only if there is any resources and/or assets
if (generatedItems.Count > 0)
{

0 comments on commit 7144d61

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