From c474984b82872b0fa4306a7e7832066c4541b46a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 9 Oct 2019 17:37:16 +1100 Subject: io_mesh_uv_layout: update for change to tessellate_polygon No longer requires vector input. --- io_mesh_uv_layout/export_uv_png.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_mesh_uv_layout') diff --git a/io_mesh_uv_layout/export_uv_png.py b/io_mesh_uv_layout/export_uv_png.py index 8aa61151..f831402f 100644 --- a/io_mesh_uv_layout/export_uv_png.py +++ b/io_mesh_uv_layout/export_uv_png.py @@ -83,7 +83,7 @@ def draw_background_colors(face_data, opacity): batch.draw(shader) def tessellate_uvs(uvs): - return tessellate_polygon([[Vector(uv) for uv in uvs]]) + return tessellate_polygon([uvs]) def draw_lines(face_data): coords = [] -- cgit v1.2.3