1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Update the permission string for the Oculus hand tracking to match the latest api update

This commit is contained in:
Fredia Huya-Kouadio
2020-05-18 15:28:18 -07:00
parent 38250ef54e
commit 6e2988f26a

View File

@@ -962,8 +962,8 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
feature_required_list.push_back(hand_tracking_index == 2); feature_required_list.push_back(hand_tracking_index == 2);
feature_versions.push_back(-1); // no version attribute should be added. feature_versions.push_back(-1); // no version attribute should be added.
if (perms.find("oculus.permission.handtracking") == -1) { if (perms.find("com.oculus.permission.HAND_TRACKING") == -1) {
perms.push_back("oculus.permission.handtracking"); perms.push_back("com.oculus.permission.HAND_TRACKING");
} }
} }
} }