mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-18 12:36:53 +00:00
Update picked pixel values when changing overlays
* This accounts for e.g. quad overdraw where the picked pixel value is affected.
This commit is contained in:
@@ -2908,6 +2908,10 @@ void TextureViewer::on_overlay_currentIndexChanged(int index)
|
||||
m_TexDisplay.overlay = (DebugOverlay)ui->overlay->currentIndex();
|
||||
|
||||
INVOKE_MEMFN(RT_UpdateAndDisplay);
|
||||
if(m_Output != NULL && m_PickedPoint.x() >= 0 && m_PickedPoint.y() >= 0)
|
||||
{
|
||||
INVOKE_MEMFN(RT_PickPixelsAndUpdate);
|
||||
}
|
||||
}
|
||||
|
||||
void TextureViewer::channelsWidget_mouseClicked(QMouseEvent *event)
|
||||
|
||||
Reference in New Issue
Block a user