[Bf-extensions-cvs] [c3e8934] master: Please avoid littering scripts with API versions

Campbell Barton noreply at git.blender.org
Wed Jan 21 02:14:31 CET 2015


Commit: c3e89343528a926c9349e20af31873b1a9d3e95c
Author: Campbell Barton
Date:   Wed Jan 21 12:14:08 2015 +1100
Branches: master
https://developer.blender.org/rBAc3e89343528a926c9349e20af31873b1a9d3e95c

Please avoid littering scripts with API versions

===================================================================

M	mesh_looptools.py

===================================================================

diff --git a/mesh_looptools.py b/mesh_looptools.py
index 06a1cc4..49a26c4 100644
--- a/mesh_looptools.py
+++ b/mesh_looptools.py
@@ -2815,7 +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 
+    bm_mod.verts.ensure_lookup_table()
     for loop in loops:
         center = mathutils.Vector()
         for v_index in loop[0]:



More information about the Bf-extensions-cvs mailing list