diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-08 13:50:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-08 13:52:01 +0300 |
commit | 2855feb2ae06cc8029ec7f459b32b9d37e8fff38 (patch) | |
tree | f4a1245b7a953829defe490e84c8baa0ea325944 /source/blender/editors/space_view3d | |
parent | 0e3475b00d44bc0220cee84d28daacaa6735f62f (diff) |
Fix T61196: Mesh select ignores clipping (part 2)
Need to use local clipping planes in this case
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index e752d3a0343..2ece5358bc0 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -294,7 +294,8 @@ void draw_object_backbufsel( const float (*world_clip_planes)[4] = NULL; if (rv3d->rflag & RV3D_CLIPPING) { - world_clip_planes = rv3d->clip; + ED_view3d_clipping_local(rv3d, ob->obmat); + world_clip_planes = rv3d->clip_local; } switch (ob->type) { |