fix for bug in ED_view3d_project_float that only effected the 'Rip' tool.
[blender.git] / source / blender / editors / mesh / knifetool.c
index fcf9effee4a5f38e5c2f2968183a0b94f044f7f0..b026ddd19fb277c2b40610b85c3a952cb1d60aa1 100644 (file)
@@ -177,7 +177,7 @@ static void knife_input_ray_cast(knifetool_opdata *kcd, const int mval_i[2],
 
 static void knife_project_v3(knifetool_opdata *kcd, const float co[3], float sco[3])
 {
-       ED_view3d_project_float(kcd->ar, co, sco, kcd->projmat);
+       ED_view3d_project_float_v3(kcd->ar, co, sco, kcd->projmat);
 }
 
 static ListBase *knife_empty_list(knifetool_opdata *kcd)