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`
This commit is contained in:
2013-04-22 20:15:42 +00:00
parent 36e7a98459
commit 3c67cf9594
3 changed files with 3 additions and 3 deletions

View File

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