Skip to content
This repository was archived by the owner on Jan 22, 2023. It is now read-only.

Commit 023f377

Browse files
committed
Assign texture name to UV map
1 parent f6c0177 commit 023f377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/blender/bob_plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def readstruct(s):
272272
for vi, vert in enumerate(face.verts):
273273
vert.normal = normal_list[vert.index]
274274

275-
uv_texture = mesh.uv_textures.new("uv_map")
275+
uv_texture = mesh.uv_textures.new(texname.decode("ascii", "ignore"))
276276
texture = None
277277
if has_texture:
278278
texture = bpy.data.images.load(texpath)

0 commit comments

Comments
 (0)