diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-23 00:00:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-23 00:00:37 +0400 |
commit | 36e7a9845901bfc7368853312bbf872a17f5bae1 (patch) | |
tree | f515179d34899be7e5983c75952f4e408f6c5ddc /source/blender/editors/physics | |
parent | 556705f84efcb225ec1767e11167537a02553f2a (diff) |
fix [#35007] clipping border error
add clip option to ED_view3d_win_to_ray(), ED_view3d_win_to_segment()
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index f12df7aa3dd..b46c181ebef 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -3293,7 +3293,7 @@ static int brush_add(PEData *data, short number) mco[0] = data->mval[0] + dmx; mco[1] = data->mval[1] + dmy; - ED_view3d_win_to_segment_clip(data->vc.ar, data->vc.v3d, mco, co1, co2); + ED_view3d_win_to_segment(data->vc.ar, data->vc.v3d, mco, co1, co2, true); mul_m4_v3(imat, co1); mul_m4_v3(imat, co2); |