Fix T76894: Disable clipping region selection in material/rendered mode
In this case the draw engine isn't responsible for the selection, but the editor is. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7955
This commit is contained in:
@@ -319,7 +319,9 @@ BMVert *EDBM_vert_find_nearest_ex(ViewContext *vc,
|
|||||||
else {
|
else {
|
||||||
struct NearestVertUserData data = {{0}};
|
struct NearestVertUserData data = {{0}};
|
||||||
const struct NearestVertUserData_Hit *hit = NULL;
|
const struct NearestVertUserData_Hit *hit = NULL;
|
||||||
const eV3DProjTest clip_flag = V3D_PROJ_TEST_CLIP_DEFAULT;
|
const eV3DProjTest clip_flag = RV3D_CLIPPING_ENABLED(vc->v3d, vc->rv3d) ?
|
||||||
|
V3D_PROJ_TEST_CLIP_DEFAULT :
|
||||||
|
V3D_PROJ_TEST_CLIP_DEFAULT & ~V3D_PROJ_TEST_CLIP_BB;
|
||||||
BMesh *prev_select_bm = NULL;
|
BMesh *prev_select_bm = NULL;
|
||||||
|
|
||||||
static struct {
|
static struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user