From 1a752d28a4815ef40670f04a7b967dcaf485a3fd Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Thu, 22 Oct 2015 20:28:37 +0100 Subject: [PATCH] Remove max density 10000m for surface lights. --- simgear/scene/tgdb/SGTileDetailsCallback.hxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/simgear/scene/tgdb/SGTileDetailsCallback.hxx b/simgear/scene/tgdb/SGTileDetailsCallback.hxx index fbee88f8..a2af1b2e 100644 --- a/simgear/scene/tgdb/SGTileDetailsCallback.hxx +++ b/simgear/scene/tgdb/SGTileDetailsCallback.hxx @@ -789,11 +789,6 @@ public: float coverage = mat->get_light_coverage(); if (coverage <= 0) continue; - if (coverage < 10000.0) { - SG_LOG(SG_INPUT, SG_ALERT, "Light coverage is " - << coverage << ", pushing up to 10000"); - coverage = 10000; - } int texIndex = matTris[i].getTextureIndex();