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/object/object_warp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/object/object_warp.c') diff --git a/source/blender/editors/object/object_warp.c b/source/blender/editors/object/object_warp.c index 92b82e2a31b..008593739ba 100644 --- a/source/blender/editors/object/object_warp.c +++ b/source/blender/editors/object/object_warp.c @@ -227,7 +227,7 @@ static int object_warp_verts_exec(bContext *C, wmOperator *op) View3D *v3d = CTX_wm_view3d(C); const float *cursor; - cursor = ED_view3d_cursor3d_get(scene, v3d); + cursor = ED_view3d_cursor3d_get(scene, v3d)->location; copy_v3_v3(center, cursor); RNA_property_float_set_array(op->ptr, prop_center, center); -- cgit v1.2.3