Add checkbox in debug pannel.

- checkbox to force normal render mode of traction.
This commit is contained in:
Kamil Lewan
2018-10-13 23:41:45 +02:00
parent b21ebd80b3
commit b81e9e30fe

View File

@@ -362,6 +362,14 @@ debug_panel::render() {
// toggles
ImGui::Separator();
ImGui::Checkbox( "Debug Mode", &DebugModeFlag );
if( DebugModeFlag )
{
ImGui::Indent();
ImGui::Checkbox(
"Draw normal traction",
&GfxRenderer.settings.force_normal_traction_render );
ImGui::Unindent();
}
}
ImGui::End();
}