mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-03 04:15:51 +00:00
Fix a backwards compatibility issue causing some panels to go missing
This commit is contained in:
@@ -582,6 +582,12 @@ namespace renderdocui.Windows
|
||||
if (persistString == p.Name && p.Parent is IDockContent && (p.Parent as DockContent).DockPanel == null)
|
||||
return p.Parent as IDockContent;
|
||||
|
||||
// backwards compatibilty for rename
|
||||
if(persistString == "texPanel")
|
||||
return roPanel.Parent as IDockContent;
|
||||
if(persistString == "rtPanel")
|
||||
return rwPanel.Parent as IDockContent;
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user