[Bf-blender-cvs] [bb6e9a7e868] refactor-mesh-uv-map-generic: Correct brackets for if statement

Martijn Versteegh noreply at git.blender.org
Wed Jan 4 12:57:12 CET 2023


Commit: bb6e9a7e868fa2048377496447030f653a074e0c
Author: Martijn Versteegh
Date:   Wed Jan 4 12:09:14 2023 +0100
Branches: refactor-mesh-uv-map-generic
https://developer.blender.org/rBbb6e9a7e868fa2048377496447030f653a074e0c

Correct brackets for if statement

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

M	source/blender/editors/uvedit/uvedit_select.c

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

diff --git a/source/blender/editors/uvedit/uvedit_select.c b/source/blender/editors/uvedit/uvedit_select.c
index 46e544921e4..8014d83da69 100644
--- a/source/blender/editors/uvedit/uvedit_select.c
+++ b/source/blender/editors/uvedit/uvedit_select.c
@@ -4205,7 +4205,7 @@ static int uv_select_pinned_exec(bContext *C, wmOperator *op)
 
       BM_ITER_ELEM (l, &liter, efa, BM_LOOPS_OF_FACE) {
 
-        if BM_ELEM_CD_GET_BOOL (l, offsets.pin) {
+        if (BM_ELEM_CD_GET_BOOL (l, offsets.pin)) {
           uvedit_uv_select_enable(scene, em->bm, l, false, offsets);
           changed = true;
         }



More information about the Bf-blender-cvs mailing list