Close transient log-specific windows when a log closes

* Shader viewers already close themselves, but the pixel history view,
  non-mesh buffer viewers, and constant buffer views also close.
This commit is contained in:
baldurk
2017-04-28 17:44:49 +01:00
parent f3508f57b1
commit e0191ccba4
3 changed files with 8 additions and 0 deletions
+3
View File
@@ -1166,6 +1166,9 @@ void BufferViewer::OnLogfileLoaded()
void BufferViewer::OnLogfileClosed()
{
Reset();
if(!m_MeshView)
ToolWindowManager::closeToolWindow(this);
}
void BufferViewer::OnEventChanged(uint32_t eventID)