Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsPlopM <sylvain.magdelaine@ubisoft.com>2020-05-14 18:39:58 +0300
committersPlopM <sylvain.magdelaine@ubisoft.com>2020-05-14 18:39:58 +0300
commit9976bd76d993846ffa4dfd3502ec58e74f1d14bc (patch)
treebcc8dc35d3488e8c9cceec83c66e4c9131021b23
parent4449f53786fb1920e83aff7fc32259786e85ab48 (diff)
fixed device detectionxr-world-navigation
-rw-r--r--intern/ghost/intern/GHOST_XrSession.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_XrSession.cpp b/intern/ghost/intern/GHOST_XrSession.cpp
index 58ad8e0619a..76c24a16fd1 100644
--- a/intern/ghost/intern/GHOST_XrSession.cpp
+++ b/intern/ghost/intern/GHOST_XrSession.cpp
@@ -72,6 +72,7 @@ struct OculusTouchProfile {
};
enum class OpenXrProfile {
+ UNKNOWN,
OCULUS_TOUCH
};
@@ -87,7 +88,7 @@ struct OpenXRSessionData {
std::vector<XrView> views;
std::vector<GHOST_XrSwapchain> swapchains;
- OpenXrProfile detectedProfile;
+ OpenXrProfile detectedProfile = OpenXrProfile::UNKNOWN;
OculusTouchProfile oculusTouchProfile;
};