rna api function scene.ray_cast now returns the object and its matrix (incase its...
[blender.git] / source / blender / editors / space_view3d / view3d_ruler.c
index e6ec1afb02b9af630d402fbeddac58847146fae9..b38f4974f6692da769b53f52b8471d198912b01b 100644 (file)
@@ -105,6 +105,7 @@ static bool ED_view3d_snap_ray(bContext *C, float r_co[3],
 
        /* try snap edge, then face if it fails */
        ret = snapObjectsRayEx(scene, NULL, v3d, ar, obedit, SCE_SNAP_MODE_FACE,
+                              NULL, NULL,
                               ray_start, ray_normal, &ray_dist,
                               NULL, &dist_px, r_co, r_no_dummy, SNAP_ALL);