Warn about 0 brightness lights

This commit is contained in:
Jarrod Doyle 2025-02-21 17:24:13 +00:00
parent b0ceb0f845
commit bd3178398c
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 5 additions and 0 deletions

View File

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