minor correction for r35312, check the operator returns finished.

use lambda for uv.py (no functional change).
This commit is contained in:
2011-03-03 04:25:14 +00:00
parent 13d5f6005e
commit 385c5f0755
2 changed files with 2 additions and 5 deletions

View File

@@ -361,10 +361,7 @@ class ExportUVLayout(bpy.types.Operator):
elif mode == 'PNG':
func = write_png
def face_iter_func():
return self._face_uv_iter(context)
func(fw, mesh, self.size[0], self.size[1], self.opacity, face_iter_func)
func(fw, mesh, self.size[0], self.size[1], self.opacity, lambda: self._face_uv_iter(context))
if is_editmode:
bpy.ops.object.mode_set(mode='EDIT', toggle=False)