=bmesh= merge from trunk at r36529
[blender.git] / source / blender / editors / curve / editcurve.c
index e937417c857d368118a32f083059009452651c50..3c6234dece7e85907ede9e75e0d5b3fab2c4f02a 100644 (file)
@@ -4691,7 +4691,7 @@ static int add_vertex_invoke(bContext *C, wmOperator *op, wmEvent *event)
                mval[0]= event->x - vc.ar->winrct.xmin;
                mval[1]= event->y - vc.ar->winrct.ymin;
                
-               view3d_get_view_aligned_coordinate(&vc, location, mval);
+               view3d_get_view_aligned_coordinate(&vc, location, mval, TRUE);
                RNA_float_set_array(op->ptr, "location", location);
        }