Browse Source

At this point, I just need to go back to Pre-K.

pull/164/head
Adam Johnson 5 years ago
parent
commit
532dc9d6a4
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 state.blendFlags |= hsGMatState.kBlendMult
# Check if this layer uses diffuse/runtime lighting # 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.preshade = hsColorRGBA(0.0, 0.0, 0.0, 1.0)
layer.runtime = hsColorRGBA(0.0, 0.0, 0.0, 1.0) layer.runtime = hsColorRGBA(0.0, 0.0, 0.0, 1.0)

Loading…
Cancel
Save