mirror of
https://github.com/H-uru/korman.git
synced 2025-07-15 10:54:18 +00:00
Actually use UV maps as specified
This commit is contained in:
@ -155,7 +155,7 @@ class MaterialConverter:
|
|||||||
self._propagate_material_settings(bm, layer)
|
self._propagate_material_settings(bm, layer)
|
||||||
|
|
||||||
# UVW Channel
|
# 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:
|
if uvchan.name == slot.uv_layer:
|
||||||
layer.UVWSrc = i
|
layer.UVWSrc = i
|
||||||
print(" Using UV Map #{} '{}'".format(i, name))
|
print(" Using UV Map #{} '{}'".format(i, name))
|
||||||
|
Reference in New Issue
Block a user