diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2013-11-01 15:42:11 +0400 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2013-11-01 15:42:11 +0400 |
commit | e8c54b682a2ab658a0e87b45f442220c1caaadcd (patch) | |
tree | 22044650746182dd21b695a84239848afef9eccb /source/blender/editors/mesh/mesh_intern.h | |
parent | 2c57e4f57773f469697bfd788c37decb239af620 (diff) |
Add 'cut-through' option for Knife Project operator.
If enabled, it makes knife project act as the
cut-through (Shift-K) version of knife.
This option will soon be more useful when a better
cut-though Knife change is submitted, allowing
this to work for cuts within faces in addition
to cuts across them.
Diffstat (limited to 'source/blender/editors/mesh/mesh_intern.h')
-rw-r--r-- | source/blender/editors/mesh/mesh_intern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/mesh_intern.h b/source/blender/editors/mesh/mesh_intern.h index ed026258e4b..98c145c9ce7 100644 --- a/source/blender/editors/mesh/mesh_intern.h +++ b/source/blender/editors/mesh/mesh_intern.h @@ -116,7 +116,8 @@ void MESH_OT_inset(struct wmOperatorType *ot); /* *** editmesh_knife.c *** */ void MESH_OT_knife_tool(struct wmOperatorType *ot); void MESH_OT_knife_project(struct wmOperatorType *ot); -void EDBM_mesh_knife(struct bContext *C, struct LinkNode *polys, bool use_tag); +void EDBM_mesh_knife(struct bContext *C, struct LinkNode *polys, + bool use_tag, bool cut_through); struct wmKeyMap *knifetool_modal_keymap(struct wmKeyConfig *keyconf); |