mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 17:09:19 +02:00
Add checkbox in debug pannel.
- checkbox to force normal render mode of traction.
This commit is contained in:
@@ -362,6 +362,14 @@ debug_panel::render() {
|
|||||||
// toggles
|
// toggles
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
ImGui::Checkbox( "Debug Mode", &DebugModeFlag );
|
ImGui::Checkbox( "Debug Mode", &DebugModeFlag );
|
||||||
|
if( DebugModeFlag )
|
||||||
|
{
|
||||||
|
ImGui::Indent();
|
||||||
|
ImGui::Checkbox(
|
||||||
|
"Draw normal traction",
|
||||||
|
&GfxRenderer.settings.force_normal_traction_render );
|
||||||
|
ImGui::Unindent();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user