Browse Source

Drop the whole `map_color` thing for LampTextureSlots.

pull/162/head
Adam Johnson 5 years ago
parent
commit
0c463e2f49
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/exporter/material.py

2
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) or slot.use_map_color:
if bm is not None and 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)

Loading…
Cancel
Save