mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-18 01:59:22 +00:00
Make sure copy from remote happens even when not running
This commit is contained in:
1 parent
d05f99d1b5
commit
12d5f5bd70
1 file changed
+16
-4
@@ -258,12 +258,24 @@ namespace renderdocui.Code
|
||||
}));
|
||||
progressThread.Start();
|
||||
|
||||
BeginInvoke((ReplayRenderer r) =>
|
||||
if (Running)
|
||||
{
|
||||
m_Remote.CopyCaptureFromRemote(remotepath, localpath, ref progress);
|
||||
BeginInvoke((ReplayRenderer r) =>
|
||||
{
|
||||
m_Remote.CopyCaptureFromRemote(remotepath, localpath, ref progress);
|
||||
|
||||
copied = true;
|
||||
});
|
||||
copied = true;
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
Helpers.NewThread(new ThreadStart(() =>
|
||||
{
|
||||
m_Remote.CopyCaptureFromRemote(remotepath, localpath, ref progress);
|
||||
|
||||
copied = true;
|
||||
})).Start();
|
||||
}
|
||||
|
||||
modal.ShowDialog(window);
|
||||
|
||||
|
||||
Reference in new issue
Block a user