Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/mesh/editmesh_knife.c
| Show First 20 Lines • Show All 4,860 Lines • ▼ Show 20 Lines | static bool edbm_mesh_knife_point_isect(LinkNode *polys, const float cent_ss[2]) | ||||
| } | } | ||||
| if (isect % 2) { | if (isect % 2) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| return false; | return false; | ||||
| } | } | ||||
| /** | |||||
| * \param use_tag: When set, tag all faces inside the polylines. | |||||
| */ | |||||
| void EDBM_mesh_knife(bContext *C, ViewContext *vc, LinkNode *polys, bool use_tag, bool cut_through) | void EDBM_mesh_knife(bContext *C, ViewContext *vc, LinkNode *polys, bool use_tag, bool cut_through) | ||||
| { | { | ||||
| KnifeTool_OpData *kcd; | KnifeTool_OpData *kcd; | ||||
| /* Init. */ | /* Init. */ | ||||
| { | { | ||||
| const bool only_select = false; | const bool only_select = false; | ||||
| const bool is_interactive = false; /* Can enable for testing. */ | const bool is_interactive = false; /* Can enable for testing. */ | ||||
| ▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines | |||||