Orientation for 3D cursor
[blender.git] / source / blender / editors / mesh / editmesh_extrude.c
index ca49d4e544892be274ac8cb70a3f90cba3f85afb..41053d423debe46948516678ea5e70509b9f0f64 100644 (file)
@@ -973,7 +973,7 @@ static int edbm_dupli_extrude_cursor_invoke(bContext *C, wmOperator *op, const w
                              BM_ELEM_SELECT, ofs);
        }
        else {
-               const float *cursor = ED_view3d_cursor3d_get(vc.scene, vc.v3d);
+               const float *cursor = ED_view3d_cursor3d_get(vc.scene, vc.v3d)->location;
                BMOperator bmop;
                BMOIter oiter;