mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Ensure annotations are displayed for default event on capture load
This commit is contained in:
@@ -95,7 +95,9 @@ void AnnotationDisplay::RevealAnnotation(const rdcstr &keyPath)
|
||||
|
||||
void AnnotationDisplay::OnCaptureLoaded()
|
||||
{
|
||||
setAnnotationObject(NULL);
|
||||
APIEvent ev = m_Ctx.GetEventBrowser()->GetAPIEventForEID(m_Ctx.CurSelectedEvent());
|
||||
|
||||
setAnnotationObject(ev.annotations);
|
||||
}
|
||||
|
||||
void AnnotationDisplay::OnCaptureClosed()
|
||||
|
||||
Reference in New Issue
Block a user