Commit: 2855feb2ae06cc8029ec7f459b32b9d37e8fff38
Author: Campbell Barton
Date:   Fri Feb 8 21:50:07 2019 +1100
Branches: master
https://developer.blender.org/rB2855feb2ae06cc8029ec7f459b32b9d37e8fff38

Fix T61196: Mesh select ignores clipping (part 2)

Need to use local clipping planes in this case

===================================================================

M       source/blender/editors/space_view3d/drawobject.c

===================================================================

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) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to