mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Fix removing empty drawcall markers even if the option is off
This commit is contained in:
@@ -294,7 +294,7 @@ namespace renderdocui.Windows
|
||||
drawNode.Tag = drawNode.Nodes.LastNode.Tag;
|
||||
}
|
||||
|
||||
if (drawNode.Nodes.IsEmpty() && (drawcall.flags & DrawcallFlags.PushMarker) != 0)
|
||||
if (drawNode.Nodes.IsEmpty() && (drawcall.flags & DrawcallFlags.PushMarker) != 0 && m_Core.Config.EventBrowser_HideEmpty)
|
||||
return null;
|
||||
|
||||
root.Nodes.Add(drawNode);
|
||||
|
||||
Reference in New Issue
Block a user