Merge branch 'milek-dev' into gfx-work

This commit is contained in:
milek7
2019-01-27 20:41:49 +01:00
5 changed files with 28 additions and 7 deletions

View File

@@ -529,7 +529,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: {