Warn about 0 brightness lights
This commit is contained in:
parent
b0ceb0f845
commit
bd3178398c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue