mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 13:45:55 +00:00
Add Interactive/script running python shell window
This commit is contained in:
@@ -404,6 +404,10 @@ namespace renderdocui.Windows
|
||||
return m_Core.GetDebugMessages();
|
||||
else if (IsPersist(persistString, typeof(TimelineBar).ToString()))
|
||||
return m_Core.GetTimelineBar();
|
||||
else if (IsPersist(persistString, typeof(Dialogs.PythonShell).ToString()))
|
||||
{
|
||||
return new Dialogs.PythonShell(m_Core);
|
||||
}
|
||||
else if (IsPersist(persistString, typeof(Dialogs.CaptureDialog).ToString()))
|
||||
{
|
||||
if (m_Core.CaptureDialog == null)
|
||||
@@ -1359,6 +1363,11 @@ namespace renderdocui.Windows
|
||||
t.Show(dockPanel);
|
||||
}
|
||||
|
||||
private void pythonShellToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
(new Dialogs.PythonShell(m_Core)).Show(dockPanel);
|
||||
}
|
||||
|
||||
private void PipelineStateToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
m_Core.GetPipelineStateViewer().Show(dockPanel);
|
||||
|
||||
Reference in New Issue
Block a user