Buffer viewer now updates contents when EID changes

This commit is contained in:
ashleysmithgpu
2018-02-27 09:43:56 +00:00
committed by Baldur Karlsson
parent d130b9652f
commit ecccb6973a
+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();