Fix T73349: X-Ray Mode - snapping through object stop working on value = 1
This commit is contained in:
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
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue