mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-10 03:50:36 +00:00
Fix crash if a marker group has children but doesn't have any nodes
* This could happen if the option to remove empty groups was enabled, and all the children in a group were removed.
This commit is contained in:
@@ -301,7 +301,7 @@ namespace renderdocui.Windows
|
||||
}
|
||||
}
|
||||
|
||||
if(!found)
|
||||
if (!found && !drawNode.Nodes.IsEmpty())
|
||||
drawNode.Tag = drawNode.Nodes.LastNode.Tag;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user