From 927f6b7766ad3546f55a319a71f3d782282c7d85 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Thu, 30 Jun 2022 20:05:25 -0400 Subject: [PATCH] Fix #338. --- 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 212dcf0..623d167 100644 --- a/korman/exporter/material.py +++ b/korman/exporter/material.py @@ -844,7 +844,7 @@ class MaterialConverter: state.blendFlags |= hsGMatState.kBlendAlphaAdd elif slot.blend_type == "MULTIPLY": state.blendFlags |= hsGMatState.kBlendAlphaMult - else: + elif not (state.blendFlags & hsGMatState.kBlendMask): state.blendFlags |= hsGMatState.kBlendAlpha if texture.invert_alpha and has_alpha: