Browse Source

Apply suggestion from CR.

Co-authored-by: Jrius <2261279+Jrius@users.noreply.github.com>
pull/269/head
Adam Johnson 3 years ago committed by GitHub
parent
commit
dc93d93b32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      korman/exporter/etlight.py

1
korman/exporter/etlight.py

@ -411,6 +411,7 @@ class LightBaker:
self._associate_image_with_uvtex(uvtex, im)
with self._set_mode("EDIT"):
bpy.ops.mesh.select_all(action="SELECT")
bpy.ops.uv.select_all(action="SELECT")
bpy.ops.uv.smart_project(island_margin=0.05)
# Now, set the new LIGHTMAPGEN uv layer as what we want to render to...

Loading…
Cancel
Save