mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
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:
@@ -1166,6 +1166,9 @@ void BufferViewer::OnLogfileLoaded()
|
||||
void BufferViewer::OnLogfileClosed()
|
||||
{
|
||||
Reset();
|
||||
|
||||
if(!m_MeshView)
|
||||
ToolWindowManager::closeToolWindow(this);
|
||||
}
|
||||
|
||||
void BufferViewer::OnEventChanged(uint32_t eventID)
|
||||
|
||||
Reference in New Issue
Block a user