Skip to content
Permalink
Browse files

[GameStudio] Use same build folder for game studio as for actual game…

… build
  • Loading branch information
xen2 committed Dec 22, 2018
1 parent 7c9e3a3 commit 3b042d9212954224b2bf54b8d9c4ba808411c0c7
Showing with 2 additions and 2 deletions.
  1. +2 −2 sources/editor/Xenko.GameStudio/XenkoEditorPlugin.cs
@@ -33,11 +33,11 @@ public override void InitializeSession(SessionViewModel session)
var buildDirectory = fallbackDirectory;
try
{
var package = session.LocalPackages.First();
var package = session.CurrentProject ?? session.LocalPackages.First();
if (package != null)
{
// In package, we override editor build directory to be per-project and be shared with game build directory
buildDirectory = $"{package.PackagePath.GetFullDirectory().ToWindowsPath()}\\Cache\\data";
buildDirectory = $"{package.PackagePath.GetFullDirectory().ToWindowsPath()}\\obj\\xenko\\assetbuild\\data";
}

// Attempt to create the directory to ensure it is valid.

0 comments on commit 3b042d9

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