From 77774b1f12f94a7dd5ee9b0f21f99cb7780f51be Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 31 Dec 2011 10:27:24 +0000 Subject: formatting edits only --- io_mesh_uv_layout/export_uv_svg.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'io_mesh_uv_layout/export_uv_svg.py') diff --git a/io_mesh_uv_layout/export_uv_svg.py b/io_mesh_uv_layout/export_uv_svg.py index 464211cb..806ee608 100644 --- a/io_mesh_uv_layout/export_uv_svg.py +++ b/io_mesh_uv_layout/export_uv_svg.py @@ -16,7 +16,7 @@ # # ##### END GPL LICENSE BLOCK ##### -# +# import bpy @@ -29,9 +29,11 @@ def write(fw, mesh, image_width, image_height, opacity, face_iter_func): fw('\n') fw('\n') - fw('\n') - desc = "%r, %s, (Blender %s)" % (basename(bpy.data.filepath), mesh.name, bpy.app.version_string) + desc = ("%r, %s, (Blender %s)" % + (basename(bpy.data.filepath), mesh.name, bpy.app.version_string)) fw('%s\n' % escape(desc)) # svg colors @@ -39,7 +41,9 @@ def write(fw, mesh, image_width, image_height, opacity, face_iter_func): fill_default = 'fill="grey"' for mat in mesh.materials if mesh.materials else [None]: if mat: - fill_settings.append('fill="rgb(%d, %d, %d)"' % tuple(int(c * 255) for c in mat.diffuse_color)) + fill_settings.append('fill="rgb(%d, %d, %d)"' % + tuple(int(c * 255) + for c in mat.diffuse_color)) else: fill_settings.append(fill_default) -- cgit v1.2.3