Set the skin images' fakeuser flag.

Until I figure out how to do animated skins in blender...
This commit is contained in:
Bill Currie 2012-04-19 22:16:30 +09:00
parent 6bae99d66c
commit cdc57a0473

View file

@ -88,6 +88,7 @@ def load_skins(mdl):
p[l + 3] = 1.0
img.pixels[:] = p[:]
img.pack(True)
img.use_fake_user = True
mdl.images=[]
for i, skin in enumerate(mdl.skins):