diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-09 02:52:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-09 02:52:48 +0400 |
commit | fdce634310d53f4e44f147cc8ddaa6a6d1574e1f (patch) | |
tree | bfb03de00d1d2ff30d8e37cdd203358965a75738 /source/blender/editors/mesh/editmesh_extrude.c | |
parent | 108a4c41c4ffc56db474c33bff1a8917310fca17 (diff) |
screw tool used uninitialized normal to detect flipping direction.
lookes like bug from bmesh merge, restored from 2.4x.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_extrude.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c index b38f09b1dec..300fb67ec80 100644 --- a/source/blender/editors/mesh/editmesh_extrude.c +++ b/source/blender/editors/mesh/editmesh_extrude.c @@ -836,6 +836,8 @@ static int edbm_screw_exec(bContext *C, wmOperator *op) return OPERATOR_CANCELLED; } + copy_v3_v3(nor, obedit->obmat[2]); + /* calculate dvec */ mul_v3_m4v3(v1_co_global, obedit->obmat, v1->co); mul_v3_m4v3(v2_co_global, obedit->obmat, v2->co); |