From dde0f1688712159b4bad2d39553f9f79d24f2ac2 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Thu, 29 Dec 2016 00:57:56 -0800 Subject: [PATCH] Layers should also be clamped with EXTEND --- korman/exporter/material.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/korman/exporter/material.py b/korman/exporter/material.py index b062246..6ddcdaf 100644 --- a/korman/exporter/material.py +++ b/korman/exporter/material.py @@ -488,7 +488,8 @@ class MaterialConverter: if texture.invert_alpha and has_alpha: state.blendFlags |= hsGMatState.kBlendInvertAlpha - if texture.extension == "CLIP": + + if texture.extension in {"CLIP", "EXTEND"}: state.clampFlags |= hsGMatState.kClampTexture # Now, let's export the plBitmap