mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 04:50:35 +00:00
Don't display pixel context right-click context menu if no log is loaded
* This fixes an uploaded crash, where this context menu could launch operations that crash without a capture to work on.
This commit is contained in:
@@ -2962,6 +2962,9 @@ namespace renderdocui.Windows
|
||||
{
|
||||
pixelContext.Focus();
|
||||
|
||||
if (!m_Core.LogLoaded)
|
||||
return;
|
||||
|
||||
if (e.Button == MouseButtons.Right)
|
||||
{
|
||||
pixelContextMenu.Show(pixelContext, e.Location);
|
||||
|
||||
Reference in New Issue
Block a user