[Bf-blender-cvs] [a87593e62ab] master: Fix early return in reverse-color where continue was intended

Campbell Barton noreply at git.blender.org
Mon Jul 5 11:09:52 CEST 2021


Commit: a87593e62ab154eea4a22155c6233d7dd9ff1c8f
Author: Campbell Barton
Date:   Mon Jul 5 18:53:19 2021 +1000
Branches: master
https://developer.blender.org/rBa87593e62ab154eea4a22155c6233d7dd9ff1c8f

Fix early return in reverse-color where continue was intended

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

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

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

diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index 0917d677691..328658eb7a2 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -3154,7 +3154,7 @@ static int edbm_reverse_colors_exec(bContext *C, wmOperator *op)
 
     /* finish the operator */
     if (!EDBM_op_finish(em, &bmop, op, true)) {
-      return OPERATOR_CANCELLED;
+      continue;
     }
 
     EDBM_update(obedit->data,



More information about the Bf-blender-cvs mailing list