diff options
Diffstat (limited to 'modules/openxr/config.py')
-rw-r--r-- | modules/openxr/config.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/openxr/config.py b/modules/openxr/config.py index f91cb1359f..e503f12739 100644 --- a/modules/openxr/config.py +++ b/modules/openxr/config.py @@ -1,8 +1,6 @@ def can_build(env, platform): - if ( - platform == "linuxbsd" or platform == "windows" - ): # or platform == "android" -- temporarily disabled android support - return env["openxr"] + if platform in ("linuxbsd", "windows", "android"): + return env["openxr"] and not env["disable_3d"] else: # not supported on these platforms return False @@ -20,6 +18,7 @@ def get_doc_classes(): "OpenXRActionMap", "OpenXRInteractionProfile", "OpenXRIPBinding", + "OpenXRHand", ] |