mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-12 10:37:08 +00:00
Make a copy of the RootActions in TestCase.validate_eventids()
Otherwise the next call to controller.GetRootActions() will return an empty list
This commit is contained in:
@@ -1166,7 +1166,7 @@ class TestCase:
|
||||
return True
|
||||
|
||||
def validate_eventids(self, controller: rd.ReplayController) -> bool:
|
||||
actions = controller.GetRootActions()
|
||||
actions = controller.GetRootActions().copy()
|
||||
eventIds = set()
|
||||
maxEventId = 0
|
||||
while len(actions) > 0:
|
||||
|
||||
Reference in New Issue
Block a user