diff options
Diffstat (limited to 'source/blender/windowmanager/xr/intern/wm_xr_operators.c')
-rw-r--r-- | source/blender/windowmanager/xr/intern/wm_xr_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/xr/intern/wm_xr_operators.c b/source/blender/windowmanager/xr/intern/wm_xr_operators.c index 3f0c72a4a05..543e5782a5a 100644 --- a/source/blender/windowmanager/xr/intern/wm_xr_operators.c +++ b/source/blender/windowmanager/xr/intern/wm_xr_operators.c @@ -943,7 +943,7 @@ static int wm_xr_navigation_fly_modal(bContext *C, wmOperator *op, const wmEvent const double time_now = PIL_check_seconds_timer(); mode = (eXrFlyMode)RNA_enum_get(op->ptr, "mode"); - turn = (ELEM(mode, XR_FLY_TURNLEFT, XR_FLY_TURNRIGHT)); + turn = ELEM(mode, XR_FLY_TURNLEFT, XR_FLY_TURNRIGHT); locz_lock = RNA_boolean_get(op->ptr, "lock_location_z"); dir_lock = RNA_boolean_get(op->ptr, "lock_direction"); |