From 40cea4f0c657938189439582d3353993721c2f13 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 5 Jul 2014 21:17:51 -0400 Subject: [PATCH] Allow NONE textures to export --- korman/exporter/material.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/korman/exporter/material.py b/korman/exporter/material.py index 0727cb0..eb008d4 100644 --- a/korman/exporter/material.py +++ b/korman/exporter/material.py @@ -110,6 +110,10 @@ class MaterialConverter: self._hsbitmaps[name] = bitmap layer.texture = bitmap.key + def _export_texture_type_none(self, bo, hsgmat, layer, texture): + # We'll allow this, just for sanity's sake... + pass + @property def _mgr(self): return self._exporter().mgr