# HG changeset patch # User Ritor1 # Date 1431610168 -21600 # Node ID 98057834c9a084e01576099af3d7d11b8771ac8c # Parent 44d9df75dc13d2c6b20138fec6e0000e979724ed for VS2012 diff -r 44d9df75dc13 -r 98057834c9a0 Engine/Graphics/LightmapBuilder.cpp --- a/Engine/Graphics/LightmapBuilder.cpp Thu May 14 19:16:21 2015 +0600 +++ b/Engine/Graphics/LightmapBuilder.cpp Thu May 14 19:29:28 2015 +0600 @@ -882,7 +882,7 @@ } } else - //if (for_refactoring) + if (for_refactoring) { for (unsigned int i = 0; i < std__vector_000004_size; ++i) if ( !pRenderer->DrawLightmap(std__vector_000004 + i, &arg4, 0.0) ) diff -r 44d9df75dc13 -r 98057834c9a0 Engine/Graphics/Render.cpp --- a/Engine/Graphics/Render.cpp Thu May 14 19:16:21 2015 +0600 +++ b/Engine/Graphics/Render.cpp Thu May 14 19:29:28 2015 +0600 @@ -383,7 +383,7 @@ norm = 0; else norm = &pTerrainNormals[norm_idx]; - //if (for_refactoring) + if (for_refactoring) { //MessageBoxA(nullptr, "Ritor1: function StackLights_TerrainFace needed refactoring and result - slows", "", 0); //__debugbreak();