Browse Source

Actually use UV maps as specified

pull/23/head
Adam Johnson 10 years ago
parent
commit
209c65a95b
  1. 2
      korman/exporter/material.py

2
korman/exporter/material.py

@ -155,7 +155,7 @@ class MaterialConverter:
self._propagate_material_settings(bm, layer)
# UVW Channel
for i, uvchan in enumerate(bo.data.tessface_uv_textures):
for i, uvchan in enumerate(bo.data.uv_layers):
if uvchan.name == slot.uv_layer:
layer.UVWSrc = i
print(" Using UV Map #{} '{}'".format(i, name))

Loading…
Cancel
Save