Browse Source

Update korman/exporter/material.py

Fix line of code per Hoikas' suggestion

Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
pull/374/head
Patrick Dulebohn 10 months ago committed by GitHub
parent
commit
eb70c36938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      korman/exporter/material.py

2
korman/exporter/material.py

@ -721,7 +721,7 @@ class MaterialConverter:
# to a big "finalize" save step to prevent races. The texture cache would
# prevent that as well, so we could theoretically slice-and-dice the single
# image here... but... meh. Offloading taim.
self.export_prepared_image(texture=texture, owner=layer, indent=3,
self.export_prepared_image(texture=texture, owner=layer
alpha_type=TextureAlpha.opaque, mipmap=True,
allowed_formats={"DDS"}, is_cube_map=True, tag="cubemap")

Loading…
Cancel
Save