diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-12-02 10:46:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-12-02 10:46:14 +0300 |
commit | e16d39b793ea0a1584e9041b35a02d97e056e849 (patch) | |
tree | 783e73c568a16c77e59ae54f46395d234d37fd68 /source/blender/editors/space_view3d/view3d_walk.c | |
parent | a5c0964c70cc4c12e574ef7e51fcf6c0b5f38680 (diff) |
Transform Snap: add optional face index arg
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_walk.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_walk.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |