From e16d39b793ea0a1584e9041b35a02d97e056e849 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 2 Dec 2015 18:46:14 +1100 Subject: Transform Snap: add optional face index arg --- source/blender/editors/space_view3d/view3d_walk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_view3d/view3d_walk.c') diff --git a/source/blender/editors/space_view3d/view3d_walk.c b/source/blender/editors/space_view3d/view3d_walk.c index b71b6b86356..8b3ea2a1fee 100644 --- a/source/blender/editors/space_view3d/view3d_walk.c +++ b/source/blender/editors/space_view3d/view3d_walk.c @@ -421,7 +421,7 @@ static bool walk_floor_distance_get(bContext *C, RegionView3D *rv3d, WalkInfo *w CTX_data_scene(C), NULL, NULL, NULL, NULL, NULL, SNAP_ALL, SCE_SNAP_MODE_FACE, ray_start, ray_normal, r_distance, - r_location, r_normal, NULL, + r_location, r_normal, NULL, NULL, NULL, NULL); /* artifically scale the distance to the scene size */ @@ -455,7 +455,7 @@ static bool walk_ray_cast(bContext *C, RegionView3D *rv3d, WalkInfo *walk, float CTX_data_scene(C), NULL, NULL, NULL, NULL, NULL, SNAP_ALL, SCE_SNAP_MODE_FACE, ray_start, ray_normal, ray_distance, - r_location, r_normal, NULL, + r_location, r_normal, NULL, NULL, NULL, NULL); -- cgit v1.2.3