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,

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to