Buffer viewer now updates contents when EID changes

This commit is contained in:
ashleysmithgpu authored and Baldur Karlsson committed 2018-02-27 15:25:46 +00:00
1 parent d130b9652f
commit ecccb6973a
1 file changed
+9
+9
View File
@@ -1421,6 +1421,15 @@ void BufferViewer::OnEventChanged(uint32_t eventId)
m_ModelVSOut->primRestart = m_ModelVSIn->primRestart;
}
}
else
{
QString errors;
QList<FormatElement> cols = FormatElement::ParseFormatString(m_Format, 0, true, errors);
ClearModels();
m_ModelVSIn->columns = cols;
}
EnableCameraGuessControls();