Don't validate existance of working directories on remote captures

This commit is contained in:
baldurk
2016-08-18 15:03:48 +02:00
parent b5e6f8bef2
commit 027bcdb7e8
+10 -1
View File
@@ -287,8 +287,17 @@ namespace renderdocui.Windows.Dialogs
}
string workingDir = "";
if (Directory.Exists(RealWorkDir))
// for non-remote captures, check the directory locally
if (m_Core.Renderer.Remote == null)
{
if (Directory.Exists(RealWorkDir))
workingDir = RealWorkDir;
}
else
{
workingDir = RealWorkDir;
}
string cmdLine = cmdline.Text;