Fix unreported bug: parameter ray_start repeated

The bug would only be seen in terms of performance
This commit is contained in:
Germano Cavalcante 2017-01-30 02:26:00 -03:00
parent 167ab03f36
commit 318ee2e8c1
1 changed files with 1 additions and 1 deletions

View File

@ -2099,7 +2099,7 @@ bool ED_transform_snap_object_project_view3d_ex(
SnapData snapdata;
const enum eViewProj view_proj = ((RegionView3D *)ar->regiondata)->is_persp ? VIEW_PROJ_PERSP : VIEW_PROJ_ORTHO;
snap_data_set(&snapdata, ar, snap_to, view_proj, mval,
ray_start, ray_start, ray_normal, depth_range);
ray_origin, ray_start, ray_normal, depth_range);
return snapObjectsRay(
sctx, &snapdata,