diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-04-01 18:15:00 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-04-01 18:15:00 +0300 |
commit | 5da5fb31db199e9aa0a661dcb8ed5b0e2442455d (patch) | |
tree | 8f1c93472a5bc31d9d60914f2ca7bda5ee6f1a82 /source/blender/editors | |
parent | 2dc16223de793073970557e46703f1794248a4fc (diff) |
Cleanup: Remove unused enum value in editmesh_knife.c
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/mesh/editmesh_knife.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c index fb107795c2a..37e0ef661b6 100644 --- a/source/blender/editors/mesh/editmesh_knife.c +++ b/source/blender/editors/mesh/editmesh_knife.c @@ -226,7 +226,7 @@ typedef struct KnifeTool_OpData { float clipsta, clipend; - enum { MODE_INVOKING, MODE_IDLE, MODE_DRAGGING, MODE_CONNECT, MODE_PANNING } mode; + enum { MODE_IDLE, MODE_DRAGGING, MODE_CONNECT, MODE_PANNING } mode; bool is_drag_hold; int prevmode; @@ -2652,7 +2652,6 @@ static void knifetool_init(bContext *C, kcd->is_interactive = is_interactive; kcd->cut_through = cut_through; kcd->only_select = only_select; - kcd->mode = MODE_INVOKING; knifetool_init_bmbvh(kcd); |