[Bf-extensions-cvs] [14d1782] master: Fix error reported by talocan. Gstretch function was not calling ensure_lookup_table, see rB785b90d7ef
Thomas Beck
noreply at git.blender.org
Tue Jan 20 23:14:05 CET 2015
Commit: 14d17824a584824dfc357d25c24944cf505209ab
Author: Thomas Beck
Date: Tue Jan 20 23:01:04 2015 +0100
Branches: master
https://developer.blender.org/rBA14d17824a584824dfc357d25c24944cf505209ab
Fix error reported by talocan. Gstretch function was not calling ensure_lookup_table, see rB785b90d7ef
===================================================================
M mesh_looptools.py
===================================================================
diff --git a/mesh_looptools.py b/mesh_looptools.py
index 4911f38..06a1cc4 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]:
More information about the Bf-extensions-cvs
mailing list