mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Make sure copy from remote happens even when not running
This commit is contained in:
@@ -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