From da78dd78be6c14e68dccd858708e5ad452fb4b75 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Sun, 28 Sep 2014 19:55:05 +0200 Subject: Fix T25582: Add a 'smooth factor' to smooth_vertex BMesh op. Based on code by wahooney (Keith Boshoff), patch itself was merely rewritten due to BMesh changes... --- source/blender/bmesh/intern/bmesh_opdefines.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/bmesh/intern/bmesh_opdefines.c') diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c index d8be55ce7c2..145e3d58b43 100644 --- a/source/blender/bmesh/intern/bmesh_opdefines.c +++ b/source/blender/bmesh/intern/bmesh_opdefines.c @@ -104,6 +104,7 @@ static BMOpDefine bmo_smooth_vert_def = { "smooth_vert", /* slots_in */ {{"verts", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}}, /* input vertices */ + {"smooth_factor", BMO_OP_SLOT_FLT}, /* Smoothing factor, 0.5f to get previous behavior */ {"mirror_clip_x", BMO_OP_SLOT_BOOL}, /* set vertices close to the x axis before the operation to 0 */ {"mirror_clip_y", BMO_OP_SLOT_BOOL}, /* set vertices close to the y axis before the operation to 0 */ {"mirror_clip_z", BMO_OP_SLOT_BOOL}, /* set vertices close to the z axis before the operation to 0 */ -- cgit v1.2.3