From 532dc9d6a414cf25deda89263b3b4d1600bb4982 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 3 Nov 2019 19:28:04 -0500 Subject: [PATCH] At this point, I just need to go back to Pre-K. --- korman/exporter/material.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/exporter/material.py b/korman/exporter/material.py index 5744215..99e2a85 100644 --- a/korman/exporter/material.py +++ b/korman/exporter/material.py @@ -367,7 +367,7 @@ class MaterialConverter: state.blendFlags |= hsGMatState.kBlendMult # Check if this layer uses diffuse/runtime lighting - if bm is not None and slot.use_map_color_diffuse: + if bm is not None and not slot.use_map_color_diffuse: layer.preshade = hsColorRGBA(0.0, 0.0, 0.0, 1.0) layer.runtime = hsColorRGBA(0.0, 0.0, 0.0, 1.0)