mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't try to close ConstantBufferPreviewer window when loading capture
This commit is contained in:
@@ -82,17 +82,22 @@ ConstantBufferPreviewer *ConstantBufferPreviewer::has(ShaderStage stage, uint32_
|
||||
|
||||
void ConstantBufferPreviewer::OnCaptureLoaded()
|
||||
{
|
||||
OnCaptureClosed();
|
||||
Reset();
|
||||
}
|
||||
|
||||
void ConstantBufferPreviewer::OnCaptureClosed()
|
||||
{
|
||||
Reset();
|
||||
|
||||
ToolWindowManager::closeToolWindow(this);
|
||||
}
|
||||
|
||||
void ConstantBufferPreviewer::Reset()
|
||||
{
|
||||
ui->variables->clear();
|
||||
ui->variables->clearInternalExpansions();
|
||||
|
||||
ui->saveCSV->setEnabled(false);
|
||||
|
||||
ToolWindowManager::closeToolWindow(this);
|
||||
}
|
||||
|
||||
void ConstantBufferPreviewer::OnEventChanged(uint32_t eventId)
|
||||
|
||||
Reference in New Issue
Block a user