diff --git a/korman/exporter/mesh.py b/korman/exporter/mesh.py index cbf1b95..c107ac9 100644 --- a/korman/exporter/mesh.py +++ b/korman/exporter/mesh.py @@ -70,7 +70,7 @@ class _RenderLevel: class _DrawableCriteria: def __init__(self, bo, hsgmat, pass_index): - self.blend_span = hsgmat.layers[0].object.state.blendFlags & hsGMatState.kBlendMask + self.blend_span = bool(hsgmat.layers[0].object.state.blendFlags & hsGMatState.kBlendMask) self.criteria = 0 if self.blend_span: