error in recent commit.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 20 May 2011 16:43:23 +0000 (16:43 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 20 May 2011 16:43:23 +0000 (16:43 +0000)
source/blender/editors/space_view3d/view3d_edit.c

index 2e181e65db7ff2e75918cee0656f0be880e0f380..95e845b34622f8dd2f516cc2a616e2cfeda32d71 100644 (file)
@@ -2829,7 +2829,7 @@ static int set_3dcursor_invoke(bContext *C, wmOperator *UNUSED(op), wmEvent *eve
 
                if(depth_used==0) {
                        float mval_f[2];
-                       VECSUB(mval_f, mval, event->mval);
+                       VECSUB2D(mval_f, mval, event->mval);
                        ED_view3d_win_to_delta(ar, mval_f, dvec);
                        sub_v3_v3(fp, dvec);
                }