mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-20 19:11:11 +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:
1 parent
490dbea556
commit
cc34f5749a
1 file changed
+1
-1
@@ -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