Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_mesh_uv_layout/export_uv_png.py')
-rw-r--r--io_mesh_uv_layout/export_uv_png.py2
1 files changed, 1 insertions, 1 deletions
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