[Bf-blender-cvs] [5da5fb31db1] master: Cleanup: Remove unused enum value in editmesh_knife.c

Germano Cavalcante noreply at git.blender.org
Thu Apr 1 17:48:38 CEST 2021


Commit: 5da5fb31db199e9aa0a661dcb8ed5b0e2442455d
Author: Germano Cavalcante
Date:   Thu Apr 1 12:15:00 2021 -0300
Branches: master
https://developer.blender.org/rB5da5fb31db199e9aa0a661dcb8ed5b0e2442455d

Cleanup: Remove unused enum value in editmesh_knife.c

===================================================================

M	source/blender/editors/mesh/editmesh_knife.c

===================================================================

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



More information about the Bf-blender-cvs mailing list