Don't stomp locked tab type hints with currently followed type hint

This commit is contained in:
baldurk
2018-02-20 13:48:47 +00:00
parent db1cc10598
commit 1c88ff5fbb
+2 -1
View File
@@ -1088,7 +1088,8 @@ void TextureViewer::UI_OnTextureSelectionChanged(bool newdraw)
m_TextureSettings[m_TexDisplay.resourceId].minrange = ui->rangeHistogram->blackPoint();
m_TextureSettings[m_TexDisplay.resourceId].maxrange = ui->rangeHistogram->whitePoint();
m_TextureSettings[m_TexDisplay.resourceId].typeHint = m_Following.GetTypeHint(m_Ctx);
if(m_TexDisplay.typeHint != CompType::Typeless)
m_TextureSettings[m_TexDisplay.resourceId].typeHint = m_TexDisplay.typeHint;
}
m_TexDisplay.resourceId = tex.resourceId;