From 496f6adce29cd0da2f91cb574ca396679aa35645 Mon Sep 17 00:00:00 2001 From: Howard Trickey Date: Sun, 6 Jan 2019 18:12:00 -0500 Subject: Better bevel normal hardening when some faces were smooth. Harden normals causes normal splitting, which will not give the appearance expected due to autosmooth unless some edges are sharpened, so this change fixes that. Also bevel tool will turn on autosmooth if not already on if hardening normals. --- 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 2cae6fb3823..db4985c62f6 100644 --- a/source/blender/bmesh/intern/bmesh_opdefines.c +++ b/source/blender/bmesh/intern/bmesh_opdefines.c @@ -1765,6 +1765,7 @@ static BMOpDefine bmo_bevel_def = { {"harden_normals", BMO_OP_SLOT_BOOL}, /* harden normals */ {"face_strength_mode", BMO_OP_SLOT_INT, {(int)BMO_OP_SLOT_SUBTYPE_INT_ENUM}, bmo_enum_bevel_face_strength_type}, /* whether to set face strength, and which faces to set if so */ + {"smoothresh", BMO_OP_SLOT_FLT}, /* for passing mesh's smoothresh, used in hardening */ {{'\0'}}, }, /* slots_out */ -- cgit v1.2.3