diff options
-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); |