Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Trickey <howard.trickey@gmail.com>2019-01-07 02:12:00 +0300
committerHoward Trickey <howard.trickey@gmail.com>2019-01-07 02:12:00 +0300
commit496f6adce29cd0da2f91cb574ca396679aa35645 (patch)
treeb854406a89fc31d7dfcaf754a42a020ad53b33f6 /source/blender/bmesh/tools/bmesh_bevel.h
parentb4a77a351e31256c91e573b85b7252e3ca6d61e7 (diff)
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.
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_bevel.h')
-rw-r--r--source/blender/bmesh/tools/bmesh_bevel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.h b/source/blender/bmesh/tools/bmesh_bevel.h
index 2bfa2be8f1c..36a80ee5e25 100644
--- a/source/blender/bmesh/tools/bmesh_bevel.h
+++ b/source/blender/bmesh/tools/bmesh_bevel.h
@@ -34,6 +34,6 @@ void BM_mesh_bevel(
const float profile, const bool vertex_only, const bool use_weights,
const bool limit_offset, const struct MDeformVert *dvert, const int vertex_group,
const int mat, const bool loop_slide, const bool mark_seam, const bool mark_sharp,
- const bool harden_normals, const int face_strength_mode);
+ const bool harden_normals, const int face_strength_mode, const float smoothresh);
#endif /* __BMESH_BEVEL_H__ */