mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-20 16:00:44 +00:00
Give the uvlayer texture a name.
This commit is contained in:
parent
257fefca38
commit
320f613263
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ def import_mdl(operator, context, filepath):
|
|||
load_skins (mdl)
|
||||
mesh = bpy.data.meshes.new(mdl.name)
|
||||
mesh.from_pydata(verts, [], faces)
|
||||
uvlay = mesh.uv_textures.new()
|
||||
uvlay = mesh.uv_textures.new(mdl.name)
|
||||
for i, f in enumerate(uvlay.data):
|
||||
mdl_uv = uvs[i]
|
||||
for j, uv in enumerate(f.uv):
|
||||
|
|
Loading…
Reference in a new issue