diff options
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform_snap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c index eb601db358f..bcbe1f582b7 100644 --- a/source/blender/editors/transform/transform_snap.c +++ b/source/blender/editors/transform/transform_snap.c @@ -1486,7 +1486,7 @@ static bool peelDerivedMesh( data.depth_peels = depth_peels; BLI_bvhtree_ray_cast_all( - data.bvhdata.tree, ray_start_local, ray_normal_local, 0.0f, + data.bvhdata.tree, ray_start_local, ray_normal_local, 0.0f, BVH_RAYCAST_DIST_MAX, peelRayCast_cb, &data); } @@ -1538,7 +1538,7 @@ static bool peelEditMesh( data.depth_peels = depth_peels; BLI_bvhtree_ray_cast_all( - data.bvhdata.tree, ray_start_local, ray_normal_local, 0.0f, + data.bvhdata.tree, ray_start_local, ray_normal_local, 0.0f, BVH_RAYCAST_DIST_MAX, peelEditMeshRayCast_cb, &data); } |