Don't create thumbnails until output has been created

This commit is contained in:
baldurk
2016-07-25 18:04:02 +02:00
parent b91518a2aa
commit fbcd79b27d
+2 -2
View File
@@ -1327,10 +1327,10 @@ namespace renderdocui.Windows
if (!CurrentTextureIsLocked || (CurrentTexture != null && m_TexDisplay.texid != CurrentTexture.ID))
UI_OnTextureSelectionChanged();
if (m_Output == null) return;
UI_CreateThumbnails();
if (m_Output == null) return;
BoundResource[] RTs = Following.GetOutputTargets(m_Core);
BoundResource Depth = Following.GetDepthTarget(m_Core);