Traction wire depends on renderer settings.

This commit is contained in:
Kamil Lewan
2018-10-13 23:09:23 +02:00
parent 4af6f57cc3
commit b21ebd80b3

View File

@@ -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: {