diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-25 10:16:23 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-25 10:16:23 +0300 |
commit | 26c6ec559414126988b2d758c37768638136e801 (patch) | |
tree | 982c837347478ea7c28b5b118e0c732513795219 /source/blender/editors/mesh/mesh_intern.h | |
parent | 08324ba2c1cd6427466e8f08a2b0b476ff9b32f6 (diff) |
Cleanup: remove context argument from EDBM_mesh_knife
Added in [0] but isn't needed as all needed variables are in the
ViewContext. Avoid passing in the context is it makes debugging
issues with MESH_OT_knife_project more difficult to investigate since
it's possible values written to the ViewContext are ignored.
[0]: 6e77afe6ec7b6a73f218f1fef264758abcbc778a
Diffstat (limited to 'source/blender/editors/mesh/mesh_intern.h')
-rw-r--r-- | source/blender/editors/mesh/mesh_intern.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/mesh_intern.h b/source/blender/editors/mesh/mesh_intern.h index b39a0b90f6d..5abbfc2cb14 100644 --- a/source/blender/editors/mesh/mesh_intern.h +++ b/source/blender/editors/mesh/mesh_intern.h @@ -170,8 +170,7 @@ void MESH_OT_knife_project(struct wmOperatorType *ot); /** * \param use_tag: When set, tag all faces inside the polylines. */ -void EDBM_mesh_knife(struct bContext *C, - struct ViewContext *vc, +void EDBM_mesh_knife(struct ViewContext *vc, struct LinkNode *polys, bool use_tag, bool cut_through); |