fix for bug in ED_view3d_project_float that only effected the 'Rip' tool.
[blender.git] / source / blender / editors / space_view3d / view3d_draw.c
index 98fc4105445de8195afdfb14574edacde5536cba..f72b15614f593d1831f0eac6da9e12cab8e256c9 100644 (file)
@@ -1603,7 +1603,7 @@ static void draw_bgpic(Scene *scene, ARegion *ar, View3D *v3d)
                                asp= ( (float)ibuf->y)/(float)ibuf->x;
 
                                vec[0] = vec[1] = vec[2] = 0.0;
-                               ED_view3d_project_float(ar, vec, sco, rv3d->persmat);
+                               ED_view3d_project_float_v2(ar, vec, sco, rv3d->persmat);
                                cx = sco[0];
                                cy = sco[1];