|
|
|
@ -430,7 +430,10 @@ class MaterialConverter:
|
|
|
|
|
# Otherwise, we toss this layer and some info into our pending texture dict and process it |
|
|
|
|
# when the exporter tells us to finalize all our shit |
|
|
|
|
if texture.image is None: |
|
|
|
|
bitmap = self._mgr.add_object(plDynamicTextMap, name="{}_DynText".format(layer.key.name), bl=bo) |
|
|
|
|
dtm = self._mgr.add_object(plDynamicTextMap, name="{}_DynText".format(layer.key.name), bl=bo) |
|
|
|
|
dtm.hasAlpha = texture.use_alpha |
|
|
|
|
# if you have a better idea, let's hear it... |
|
|
|
|
dtm.visWidth, dtm.visHeight = 1024, 1024 |
|
|
|
|
else: |
|
|
|
|
key = _Texture(texture=texture, use_alpha=has_alpha, force_calc_alpha=slot.use_stencil) |
|
|
|
|
if key not in self._pending: |
|
|
|
|