mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 07:56:33 +00:00
Fix a crash updating mesh preview columns when not in a mesh view
This commit is contained in:
@@ -1820,6 +1820,9 @@ void BufferViewer::guessSecondaryColumn(BufferItemModel *model)
|
||||
|
||||
void BufferViewer::updatePreviewColumns()
|
||||
{
|
||||
if(!m_MeshView)
|
||||
return;
|
||||
|
||||
QVector<BoundVBuffer> vbs = m_Ctx.CurPipelineState().GetVBuffers();
|
||||
const DrawcallDescription *draw = m_Ctx.CurDrawcall();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user