Merge pull request #35 from carmel4a/switchable-debug-visualization-of-traction

Switchable debug visualization of traction
This commit is contained in:
Milek7
2018-12-04 23:52:31 +01:00
committed by GitHub
3 changed files with 16 additions and 1 deletions

View File

@@ -365,6 +365,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();
}