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-09-09 02:52:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-09 02:52:48 +0400
commitfdce634310d53f4e44f147cc8ddaa6a6d1574e1f (patch)
treebfb03de00d1d2ff30d8e37cdd203358965a75738 /source/blender/editors/mesh/editmesh_extrude.c
parent108a4c41c4ffc56db474c33bff1a8917310fca17 (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.c2
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);