Browse Source

Fix for lightmaps not being exoprted

pull/6/head
Adam Johnson 10 years ago
parent
commit
92e2eddff6
  1. 1
      korman/operators/op_lightmap.py

1
korman/operators/op_lightmap.py

@ -134,6 +134,7 @@ class LightmapAutobakeOperator(_LightingOperator, bpy.types.Operator):
# Now, we *finally* bake the lightmap... # Now, we *finally* bake the lightmap...
if self._generate_lightgroups(mesh): if self._generate_lightgroups(mesh):
bpy.ops.object.bake_image() bpy.ops.object.bake_image()
im.pack(as_png=True)
self._pop_lightgroups() self._pop_lightgroups()
# Done! # Done!

Loading…
Cancel
Save