From a48186c5d74b3d353c5c65cd4a930dd98cc9a603 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 8 May 2018 14:18:09 +0200 Subject: Orientation for 3D cursor Currently set when setting the cursor location, optionally used as an orientation type. Intended for use by tools too. See: D3208 --- source/blender/editors/mesh/editmesh_extrude_spin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/mesh/editmesh_extrude_spin.c') diff --git a/source/blender/editors/mesh/editmesh_extrude_spin.c b/source/blender/editors/mesh/editmesh_extrude_spin.c index a4106ebcde1..4195f7daef3 100644 --- a/source/blender/editors/mesh/editmesh_extrude_spin.c +++ b/source/blender/editors/mesh/editmesh_extrude_spin.c @@ -487,7 +487,7 @@ static int edbm_spin_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(e PropertyRNA *prop; prop = RNA_struct_find_property(op->ptr, "center"); if (!RNA_property_is_set(op->ptr, prop)) { - RNA_property_float_set_array(op->ptr, prop, ED_view3d_cursor3d_get(scene, v3d)); + RNA_property_float_set_array(op->ptr, prop, ED_view3d_cursor3d_get(scene, v3d)->location); } if (rv3d) { prop = RNA_struct_find_property(op->ptr, "axis"); -- cgit v1.2.3