Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-04-23 00:15:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-23 00:15:42 +0400
commit3c67cf9594264d8c4fc44f8f15e4033aa9b0e92d (patch)
tree4f9a52414c2793ae9faa67918ac1d68d9cc2dc81 /source/blender/bmesh/operators/bmo_utils.c
parent36e7a9845901bfc7368853312bbf872a17f5bae1 (diff)
from bug report [#34984] bmesh.ops.recalc_face_normals() ignores use_flip=True
the name `use_flip` is misleading, option in fact tags faces that have been flipped, rename to `use_face_tag`
Diffstat (limited to 'source/blender/bmesh/operators/bmo_utils.c')
-rw-r--r--source/blender/bmesh/operators/bmo_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_utils.c b/source/blender/bmesh/operators/bmo_utils.c
index 76962807cd5..af96b62e074 100644
--- a/source/blender/bmesh/operators/bmo_utils.c
+++ b/source/blender/bmesh/operators/bmo_utils.c
@@ -315,7 +315,7 @@ void bmo_recalc_face_normals_exec(BMesh *bm, BMOperator *op)
BMLoop *l, *l2;
float maxx, maxx_test, cent[3];
int i, i_max;
- const bool use_flip = BMO_slot_bool_get(op->slots_in, "use_flip");
+ const bool use_flip = BMO_slot_bool_get(op->slots_in, "use_face_tag");
startf = NULL;
maxx = -1.0e10;