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).
This commit is contained in:
baldurk
2018-04-05 11:08:16 +01:00
parent 3387f49efb
commit c075c3cfbb
-1
View File
@@ -439,7 +439,6 @@ rdcpair<uint32_t, uint32_t> 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)