fix [#30878] Lightmap Pack > New Image does not work

This commit is contained in:
Campbell Barton
2012-04-10 00:56:38 +00:00
parent cb6ab1df5e
commit 8138d261cd

View File

@@ -505,7 +505,7 @@ def lightmap_uvpack(meshes,
for f in face_sel:
# f.image = image
f.id_data.uv_loop_layers.active.data[f.index].image = image # XXX25
f.id_data.uv_textures.active.data[f.index].image = image # XXX25
for me in meshes:
me.update()