Fix T73349: X-Ray Mode - snapping through object stop working on value = 1

This commit is contained in:
Germano Cavalcante 2020-01-24 10:06:27 -03:00
parent 18343c230d
commit 2bd62ca7eb
Notes: blender-bot 2023-02-14 06:45:14 +01:00
Referenced by issue #73349, X-Ray Mode - snapping through object stop working on value = 1
1 changed files with 1 additions and 1 deletions

View File

@ -833,7 +833,7 @@ static bool raycastObj(SnapObjectContext *sctx,
{
bool retval = false;
if (use_occlusion_test) {
if (use_obedit && sctx->use_v3d && XRAY_ENABLED(sctx->v3d_data.v3d)) {
if (use_obedit && sctx->use_v3d && XRAY_FLAG_ENABLED(sctx->v3d_data.v3d)) {
/* Use of occlude geometry in editing mode disabled. */
return false;
}