Don't auto-open a solo capture if we're not remote context'd to the host

This commit is contained in:
baldurk
2016-08-29 19:42:09 +02:00
parent db944cc484
commit a6b54e33fd
@@ -658,6 +658,16 @@ namespace renderdocui.Windows
{
var log = captures.Items[0].Tag as CaptureLog;
// only auto-open a non-local log if we are successfully connected
// to this machine as a remote context
if (!log.local)
{
if (m_Core.Renderer.Remote == null ||
m_Host != m_Core.Renderer.Remote.Hostname ||
!m_Core.Renderer.Remote.Connected)
return;
}
if (log.opened)
return;