Link @1234 type text to EIDs in the comments viewer

This commit is contained in:
baldurk
2020-10-23 13:57:38 +01:00
parent 9779c56333
commit 369120cddf
4 changed files with 130 additions and 23 deletions
+9
View File
@@ -1447,6 +1447,15 @@ void CaptureContext::ExportCapture(const CaptureFileFormat &fmt, const rdcstr &e
void CaptureContext::SetEventID(const rdcarray<ICaptureViewer *> &exclude, uint32_t selectedEventID,
uint32_t eventId, bool force)
{
if(!IsCaptureLoaded())
return;
if(eventId > m_LastDrawcall->eventId)
{
qCritical() << "Invalid EID being selected " << eventId;
return;
}
uint32_t prevSelectedEventID = m_SelectedEventID;
m_SelectedEventID = selectedEventID;
uint32_t prevEventID = m_EventID;