mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 06:05:45 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user