[Bf-blender-cvs] [597b372aeb2] xr-dev: Fix build error due to merge

Peter Kim noreply at git.blender.org
Sun Apr 3 04:48:22 CEST 2022


Commit: 597b372aeb2c6e5189542076a46772c645fa1d3c
Author: Peter Kim
Date:   Sun Apr 3 11:47:52 2022 +0900
Branches: xr-dev
https://developer.blender.org/rB597b372aeb2c6e5189542076a46772c645fa1d3c

Fix build error due to merge

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

M	source/blender/windowmanager/xr/intern/wm_xr_operators.c

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

diff --git a/source/blender/windowmanager/xr/intern/wm_xr_operators.c b/source/blender/windowmanager/xr/intern/wm_xr_operators.c
index ca0e0bb0543..103fea99105 100644
--- a/source/blender/windowmanager/xr/intern/wm_xr_operators.c
+++ b/source/blender/windowmanager/xr/intern/wm_xr_operators.c
@@ -1642,7 +1642,7 @@ static bool wm_xr_select_raycast(bContext *C,
 
   wm_xr_raycast(vc.scene,
                 depsgraph,
-                vc.em ? SNAP_ONLY_ACTIVE : (selectable_only ? SNAP_SELECTABLE : SNAP_ALL),
+                selectable_only ? SNAP_SELECTABLE : SNAP_ALL,
                 origin,
                 direction,
                 ray_dist,



More information about the Bf-blender-cvs mailing list