mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-19 05:57:09 +00:00
Fix a crash with action durations if there are fake markers added
This commit is contained in:
@@ -249,7 +249,7 @@ struct EventItemModel : public QAbstractItemModel
|
||||
void SetTimes(const rdcarray<CounterResult> ×)
|
||||
{
|
||||
// set all times for events to -1.0
|
||||
m_Times.fill(m_Nodes[0].effectiveEID + 1, -1.0);
|
||||
m_Times.fill(m_Actions.size() + 1, -1.0);
|
||||
|
||||
// fill in the actual times
|
||||
for(const CounterResult &r : times)
|
||||
|
||||
Reference in New Issue
Block a user