[Bf-blender-cvs] [886cba7fe85] xr-actions-D9124: Fix build error when disabling WITH_XR_OPENXR

Peter Kim noreply at git.blender.org
Sun Mar 7 10:55:21 CET 2021


Commit: 886cba7fe85e72dea71781ab9f3340f8fc98ba18
Author: Peter Kim
Date:   Sun Mar 7 18:29:46 2021 +0900
Branches: xr-actions-D9124
https://developer.blender.org/rB886cba7fe85e72dea71781ab9f3340f8fc98ba18

Fix build error when disabling WITH_XR_OPENXR

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

M	source/blender/makesrna/intern/rna_xr.c

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

diff --git a/source/blender/makesrna/intern/rna_xr.c b/source/blender/makesrna/intern/rna_xr.c
index ee92c8b43f8..ddc404a9b1d 100644
--- a/source/blender/makesrna/intern/rna_xr.c
+++ b/source/blender/makesrna/intern/rna_xr.c
@@ -389,7 +389,7 @@ static bool rna_XrSessionState_action_set_create(bContext *C, const char *action
   wmWindowManager *wm = CTX_wm_manager(C);
   return WM_xr_action_set_create(&wm->xr, action_set_name);
 #  else
-  UNUSED_VARS(C, name);
+  UNUSED_VARS(C, action_set_name);
   return false;
 #  endif
 }
@@ -459,7 +459,7 @@ static bool rna_XrSessionState_action_create(bContext *C,
                              op_properties,
                              op_flag);
 #  else
-  UNUSED_VARS(C, action_set_name, name, type, user_path0, user_path1, threshold, op, op_flag);
+  UNUSED_VARS(C, action_set_name, action_name, type, user_path0, user_path1, threshold, op, op_flag);
   return false;
 #  endif
 }



More information about the Bf-blender-cvs mailing list