[Bf-extensions-cvs] [c474984b] master: io_mesh_uv_layout: update for change to tessellate_polygon

Campbell Barton noreply at git.blender.org
Wed Oct 9 08:38:20 CEST 2019


Commit: c474984b82872b0fa4306a7e7832066c4541b46a
Author: Campbell Barton
Date:   Wed Oct 9 17:37:16 2019 +1100
Branches: master
https://developer.blender.org/rBAc474984b82872b0fa4306a7e7832066c4541b46a

io_mesh_uv_layout: update for change to tessellate_polygon

No longer requires vector input.

===================================================================

M	io_mesh_uv_layout/export_uv_png.py

===================================================================

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 = []



More information about the Bf-extensions-cvs mailing list