mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
Actually return the skin in null_skin()
Oops.
This commit is contained in:
parent
ff4c2cfb63
commit
5661e738ac
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ def null_skin(size):
|
|||
skin = MDL.Skin()
|
||||
skin.type = 0
|
||||
skin.pixels = bytearray(size[0] * size[1]) # black skin
|
||||
return skin
|
||||
|
||||
def make_skin(mdl, mesh):
|
||||
if (not mesh.uv_textures or not mesh.uv_textures[0].data
|
||||
|
|
Loading…
Reference in a new issue