mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Only do queued row select on the stage that was selected
* This prevents out-of-range errors when picking in a GS out view an expanded mesh, and getting a row that's higher than exists in the VS in view
This commit is contained in:
@@ -1882,12 +1882,13 @@ namespace renderdocui.Windows
|
||||
|
||||
ScrollToRow(bufView, RowOffset);
|
||||
|
||||
if (m_QueuedRowSelect != -1)
|
||||
if (m_QueuedRowSelect != -1 && state.m_Stage == m_MeshDisplay.type)
|
||||
{
|
||||
ScrollToRow(bufView, m_QueuedRowSelect);
|
||||
|
||||
bufView.ClearSelection();
|
||||
bufView.Rows[m_QueuedRowSelect].Selected = true;
|
||||
if(m_QueuedRowSelect < bufView.RowCount)
|
||||
bufView.Rows[m_QueuedRowSelect].Selected = true;
|
||||
|
||||
SyncViews(bufView, true, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user