Highlight resources/history from other parts of the UI in timeline bar

This commit is contained in:
baldurk
2017-07-14 19:57:14 +01:00
parent 9ea8ed229d
commit 76cfcd5601
3 changed files with 38 additions and 2 deletions
+3 -2
View File
@@ -1315,9 +1315,10 @@ void TextureViewer::UI_OnTextureSelectionChanged(bool newdraw)
if(m_Output != NULL)
RT_PickPixelsAndUpdate(r);
// TODO TimelineBar
});
if(m_Ctx.HasTimelineBar())
m_Ctx.GetTimelineBar()->HighlightResourceUsage(texptr->ID);
}
void TextureViewer::UI_SetHistogramRange(const TextureDescription *tex, CompType typeHint)