From c075c3cfbbf2b173a3b12cd5711c47b8af38a6b1 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 5 Apr 2018 11:08:16 +0100 Subject: [PATCH] When showing previous instances, include current instance in search list * For vertex picking we want to pick from all visible instances, so the max should be curInstance + 1 (which is the default). --- renderdoc/replay/replay_output.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/renderdoc/replay/replay_output.cpp b/renderdoc/replay/replay_output.cpp index 8a21e87c0..03385a9ab 100644 --- a/renderdoc/replay/replay_output.cpp +++ b/renderdoc/replay/replay_output.cpp @@ -439,7 +439,6 @@ rdcpair ReplayOutput::PickVertex(uint32_t eventId, uint32_t if(m_RenderData.meshDisplay.showPrevInstances) { firstInst = 0; - maxInst = RDCMAX(1U, m_RenderData.meshDisplay.curInstance); } if(m_RenderData.meshDisplay.showAllInstances)