Avoid unnecessary re-layouts when populating thumbnails

This commit is contained in:
baldurk
2020-09-03 18:07:47 +01:00
parent c39a0bae5f
commit ec023ac660
3 changed files with 21 additions and 10 deletions
+3
View File
@@ -3013,6 +3013,9 @@ void TextureViewer::OnEventChanged(uint32_t eventId)
int outIndex = 0;
int inIndex = 0;
ui->outputThumbs->setUpdatesEnabled(false);
ui->inputThumbs->setUpdatesEnabled(false);
bool copy = false, clear = false, compute = false;
Following::GetDrawContext(m_Ctx, copy, clear, compute);