From bd3178398c7b7f1dbb5d84cf2088055833554bdb Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Fri, 21 Feb 2025 17:24:13 +0000 Subject: [PATCH] Warn about 0 brightness lights --- KeepersCompound.Lightmapper/LightMapper.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/KeepersCompound.Lightmapper/LightMapper.cs b/KeepersCompound.Lightmapper/LightMapper.cs index 2f43fce..aac2cf4 100644 --- a/KeepersCompound.Lightmapper/LightMapper.cs +++ b/KeepersCompound.Lightmapper/LightMapper.cs @@ -406,6 +406,11 @@ public class LightMapper lightTable.AddLight(light.ToLightData(32.0f), propAnimLight.Dynamic); } + if (propLight != null && propLight.Brightness == 0) + { + Log.Warning("Concrete object {Id} has Light property with 0 brightness. Adjust brightness or remove property.", id); + } + if (propLight != null && propLight.Brightness != 0) { var light = new Light