Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-08 13:50:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-08 13:52:01 +0300
commit2855feb2ae06cc8029ec7f459b32b9d37e8fff38 (patch)
treef4a1245b7a953829defe490e84c8baa0ea325944 /source/blender/editors/space_view3d/drawobject.c
parent0e3475b00d44bc0220cee84d28daacaa6735f62f (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/drawobject.c')
-rw-r--r--source/blender/editors/space_view3d/drawobject.c3
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) {