diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-18 07:42:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-18 07:42:26 +0400 |
commit | 9784a1169d4d3c13b8d0b6747cea661ad1df1748 (patch) | |
tree | b99dd405d1d6bb1ea95a8789dea546e00c102564 /release/scripts/templates | |
parent | f32a35fd9dd5e412275353ee78f0c17e975fdbb7 (diff) |
rna naming: verts -> vertices
Diffstat (limited to 'release/scripts/templates')
-rw-r--r-- | release/scripts/templates/operator_uv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/templates/operator_uv.py b/release/scripts/templates/operator_uv.py index 46ce15f090d..a18aaf358c8 100644 --- a/release/scripts/templates/operator_uv.py +++ b/release/scripts/templates/operator_uv.py @@ -15,10 +15,10 @@ def main(context): # adjust UVs for i, uv in enumerate(mesh.active_uv_texture.data): uvs = uv.uv1, uv.uv2, uv.uv3, uv.uv4 - for j, v_idx in enumerate(mesh.faces[i].verts): + for j, v_idx in enumerate(mesh.faces[i].vertices): if uv.select_uv[j]: # apply the location of the vertex as a UV - uvs[j][:] = mesh.verts[v_idx].co.xy + uvs[j][:] = mesh.vertices[v_idx].co.xy if is_editmode: |