[Bf-extensions-cvs] [45af83f] master: [LoopTools] Fix crash when straightening same loop twice

Bart Crouch noreply at git.blender.org
Tue Dec 24 11:50:23 CET 2013


Commit: 45af83fc322fe94b1e7ead4b2fe5ba62d28b06a7
Author: Bart Crouch
Date:   Tue Dec 24 11:50:14 2013 +0100
http://developer.blender.org/rBA45af83fc322fe94b1e7ead4b2fe5ba62d28b06a7

[LoopTools] Fix crash when straightening same loop twice

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

M	mesh_looptools.py

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

diff --git a/mesh_looptools.py b/mesh_looptools.py
index cad93bd..8e8621b 100644
--- a/mesh_looptools.py
+++ b/mesh_looptools.py
@@ -19,7 +19,7 @@
 bl_info = {
     "name": "LoopTools",
     "author": "Bart Crouch",
-    "version": (4, 5, 1),
+    "version": (4, 5, 2),
     "blender": (2, 69, 3),
     "location": "View3D > Toolbar and View3D > Specials (W-key)",
     "warning": "",
@@ -3695,6 +3695,7 @@ class GStretch(bpy.types.Operator):
             elif object.grease_pencil:
                 strokes = gstretch_get_strokes(object)
             else:
+                derived, bm_mod = get_derived_bmesh(object, bm, context.scene)
                 strokes = gstretch_get_fake_strokes(object, bm_mod, loops)
             derived, bm_mod = get_derived_bmesh(object, bm, context.scene)
         else:



More information about the Bf-extensions-cvs mailing list