From b21ebd80b3f4bcddf45106e73ff8019af4b0a740 Mon Sep 17 00:00:00 2001 From: Kamil Lewan Date: Sat, 13 Oct 2018 23:09:23 +0200 Subject: [PATCH] Traction wire depends on renderer settings. --- Traction.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Traction.cpp b/Traction.cpp index 82153f60..9a652e31 100644 --- a/Traction.cpp +++ b/Traction.cpp @@ -531,7 +531,8 @@ glm::vec3 TTraction::wire_color() const { glm::vec3 color; - if( false == DebugModeFlag ) { + if( !DebugModeFlag || GfxRenderer.settings.force_normal_traction_render ) + { switch( Material ) { // Ra: kolory podzieliłem przez 2, bo po zmianie ambient za jasne były // trzeba uwzględnić kierunek świecenia Słońca - tylko ze Słońcem widać kolor case 1: {