[Bf-extensions-cvs] [d2e375e2] blender2.8: io_mesh_uv_layout: count no longer a keyword only arg
Campbell Barton
noreply at git.blender.org
Wed Oct 3 01:11:47 CEST 2018
Commit: d2e375e2a662a0a904283f3e623ce70d9161ee32
Author: Campbell Barton
Date: Wed Oct 3 09:11:19 2018 +1000
Branches: blender2.8
https://developer.blender.org/rBAd2e375e2a662a0a904283f3e623ce70d9161ee32
io_mesh_uv_layout: count no longer a keyword only arg
===================================================================
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 74b820b8..f23d516c 100644
--- a/io_mesh_uv_layout/export_uv_png.py
+++ b/io_mesh_uv_layout/export_uv_png.py
@@ -91,7 +91,7 @@ def curve_from_uvs(face_data, aspect, thickness):
spline = lines.splines.new("POLY")
# one point is already there
- spline.points.add(count=1)
+ spline.points.add(1)
points = spline.points
points[0].co.x = start[0] * aspect
More information about the Bf-extensions-cvs
mailing list