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.
This commit is contained in:
2013-11-01 11:42:11 +00:00
parent 2c57e4f577
commit e8c54b682a
3 changed files with 11 additions and 4 deletions

View File

@@ -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);