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:
authorThomas Beck <software@plasmasolutions.de>2015-01-21 01:01:04 +0300
committerThomas Beck <software@plasmasolutions.de>2015-01-21 01:13:12 +0300
commit14d17824a584824dfc357d25c24944cf505209ab (patch)
treea0b305e39a001b1ec09cde182d7ef3fc22e24b9b /mesh_looptools.py
parentad42925185027a5466e4ed1773848ade4def054e (diff)
Fix error reported by talocan. Gstretch function was not calling ensure_lookup_table, see rB785b90d7ef
Diffstat (limited to 'mesh_looptools.py')
-rw-r--r--mesh_looptools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesh_looptools.py b/mesh_looptools.py
index 4911f383..06a1cc4d 100644
--- a/mesh_looptools.py
+++ b/mesh_looptools.py
@@ -2815,6 +2815,7 @@ def gstretch_match_loops_strokes(loops, strokes, object, bm_mod):
# calculate loop centers
loop_centers = []
+ bm_mod.verts.ensure_lookup_table() # to work in 2.73
for loop in loops:
center = mathutils.Vector()
for v_index in loop[0]: