diff options
author | mano-wii <germano.costa@ig.com.br> | 2020-01-24 16:06:27 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2020-01-24 16:06:27 +0300 |
commit | 2bd62ca7eb2cbfae504a0c4d9120c5c7ed916ce9 (patch) | |
tree | f88d349fb3faf19d2dd2d7bf3debea6b073898ff /source | |
parent | 18343c230d2c447f61fb60994b107f6a1adc01e7 (diff) |
Fix T73349: X-Ray Mode - snapping through object stop working on value = 1
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_snap_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c index 4fe2ae5321b..63b9eb3937a 100644 --- a/source/blender/editors/transform/transform_snap_object.c +++ b/source/blender/editors/transform/transform_snap_object.c @@ -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; } |