mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Clear timeline bar current state when closing capture
This commit is contained in:
@@ -111,6 +111,11 @@ void TimelineBar::OnCaptureClosed()
|
||||
{
|
||||
setWindowTitle(tr("Timeline"));
|
||||
|
||||
m_ID = ResourceId();
|
||||
m_HistoryTarget = m_UsageTarget = QString();
|
||||
m_HistoryEvents.clear();
|
||||
m_UsageEvents.clear();
|
||||
|
||||
m_Draws.clear();
|
||||
m_RootDraws.clear();
|
||||
m_RootMarkers.clear();
|
||||
|
||||
Reference in New Issue
Block a user