From 65dd1d7d081d437a918fbb9fc37515ba262d44d0 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Sat, 7 May 2016 11:58:33 +0200 Subject: Fix T48362: Spin tool broken after recent commit. Typo in rBrBa48d74079, spin tool was now using the wrong view axis. --- source/blender/editors/mesh/editmesh_extrude.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/mesh') diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c index 2401b749ab2..1dfb1cddd2c 100644 --- a/source/blender/editors/mesh/editmesh_extrude.c +++ b/source/blender/editors/mesh/editmesh_extrude.c @@ -740,7 +740,7 @@ static int edbm_spin_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(e if (rv3d) { prop = RNA_struct_find_property(op->ptr, "axis"); if (!RNA_property_is_set(op->ptr, prop)) { - RNA_property_float_set_array(op->ptr, prop, rv3d->viewinv[1]); + RNA_property_float_set_array(op->ptr, prop, rv3d->viewinv[2]); } } -- cgit v1.2.3