bmesh todo: vertex dirtmap now working again.

also renamed Polygon helper property from 'loops' to loop_indices
This commit is contained in:
Campbell Barton
2012-04-13 08:41:30 +00:00
parent 6046500ee5
commit 1cf0358a33
4 changed files with 18 additions and 19 deletions

View File

@@ -60,8 +60,8 @@ def extend(obj, operator, EXTEND_MODE):
vidx_target = face_target.vertices
uv_layer = me.uv_loop_layers.active.data
uvs_source = [uv_layer[i].uv for i in face_source.loops]
uvs_target = [uv_layer[i].uv for i in face_target.loops]
uvs_source = [uv_layer[i].uv for i in face_source.loop_indices]
uvs_target = [uv_layer[i].uv for i in face_target.loop_indices]
# vertex index is the key, uv is the value