diff options
Diffstat (limited to 'source/blender/python/intern/bpy_app_build_options.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_build_options.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_app_build_options.c b/source/blender/python/intern/bpy_app_build_options.c index 39fcfa8b7bf..cc97f6dec94 100644 --- a/source/blender/python/intern/bpy_app_build_options.c +++ b/source/blender/python/intern/bpy_app_build_options.c @@ -60,6 +60,7 @@ static PyStructSequence_Field app_builtopts_info_fields[] = { {"alembic", NULL}, {"usd", NULL}, {"fluid", NULL}, + {"xr_openxr", NULL}, {NULL}, }; @@ -275,6 +276,12 @@ static PyObject *make_builtopts_info(void) SetObjIncref(Py_False); #endif +#ifdef WITH_XR_OPENXR + SetObjIncref(Py_True); +#else + SetObjIncref(Py_False); +#endif + #undef SetObjIncref return builtopts_info; |