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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-13 12:41:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-13 12:41:30 +0400
commit1cf0358a334cf4cfce207d03ae2db2a93f2cd32c (patch)
treeeb2311f6caa545281588664d6a3e5a740de856bb /release/scripts/startup/bl_operators/uvcalc_follow_active.py
parent6046500ee50f95bc3d9b3781bf5d6cb424f61ea6 (diff)
bmesh todo: vertex dirtmap now working again.
also renamed Polygon helper property from 'loops' to loop_indices
Diffstat (limited to 'release/scripts/startup/bl_operators/uvcalc_follow_active.py')
-rw-r--r--release/scripts/startup/bl_operators/uvcalc_follow_active.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_follow_active.py b/release/scripts/startup/bl_operators/uvcalc_follow_active.py
index 8d74af2986e..99ae5a3e436 100644
--- a/release/scripts/startup/bl_operators/uvcalc_follow_active.py
+++ b/release/scripts/startup/bl_operators/uvcalc_follow_active.py
@@ -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