From abe36478c697a2e71fa7e92dc742704b9d583a16 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 20 Sep 2018 12:42:00 +1000 Subject: 3D View: add clip argument to win_to_3d_on_plane --- source/blender/editors/include/ED_view3d.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/include/ED_view3d.h') diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 0f8cd7260fd..c21a6cccb2e 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -241,11 +241,11 @@ void ED_view3d_win_to_3d_int( float r_out[3]); bool ED_view3d_win_to_3d_on_plane( const struct ARegion *ar, - const float plane[4], const float mval[2], + const float plane[4], const float mval[2], const bool do_clip, float r_out[3]); bool ED_view3d_win_to_3d_on_plane_int( const struct ARegion *ar, - const float plane[4], const int mval[2], + const float plane[4], const int mval[2], const bool do_clip, float r_out[3]); void ED_view3d_win_to_delta(const struct ARegion *ar, const float mval[2], float out[3], const float zfac); void ED_view3d_win_to_origin(const struct ARegion *ar, const float mval[2], float out[3]); -- cgit v1.2.3