Try to fix actor redrawing stalling again, some fixes for collections not correctly reloading metadata or changing wrong collection. Added hidden debug tab that can be activated by /penumbra debug (and is active when compiled in debug mode by default).

This commit is contained in:
Ottermandias 2021-07-10 22:20:18 +02:00
parent cfdff30189
commit cf223c927c
15 changed files with 309 additions and 60 deletions

View file

@ -36,7 +36,8 @@ namespace Penumbra.UI
#else
private const bool DefaultVisibility = false;
#endif
public bool Visible = DefaultVisibility;
public bool Visible = DefaultVisibility;
public bool DebugTabVisible = DefaultVisibility;
public void Draw()
{
@ -73,6 +74,11 @@ namespace Penumbra.UI
}
}
if( DebugTabVisible )
{
_base.DrawDebugTab();
}
ImGui.EndTabBar();
ImGui.End();
}