From 80c798648584776bbcc6a79d25de15722e4b98ba Mon Sep 17 00:00:00 2001 From: Bart Crouch <bartius.crouch@gmail.com> Date: Wed, 6 Aug 2014 15:16:23 +0200 Subject: [PATCH] Fix T41178 Merge of soc-2013-paint added a new parameter to strokes: "size" This crashed the add-on when trying to erase strokes (since they did not yet have this additional parameter) --- mesh_looptools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesh_looptools.py b/mesh_looptools.py index 0e4d26adb..a1e52a12c 100644 --- a/mesh_looptools.py +++ b/mesh_looptools.py @@ -19,7 +19,7 @@ bl_info = { "name": "LoopTools", "author": "Bart Crouch", - "version": (4, 6, 0), + "version": (4, 6, 1), "blender": (2, 69, 3), "location": "View3D > Toolbar and View3D > Specials (W-key)", "warning": "", @@ -2702,6 +2702,7 @@ def gstretch_erase_stroke(stroke, context): 'mouse': (view3d_utils.location_3d_to_region_2d(\ context.region, context.space_data.region_3d, loc)), 'pressure': 1, + 'size': 0, 'time': 0} return(lib) -- GitLab