1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Change to new PICO interaction profiles

This commit is contained in:
Bastiaan Olij
2023-07-17 16:36:01 +10:00
parent d2f76e8786
commit 3a89bb388d
6 changed files with 118 additions and 47 deletions

View File

@@ -126,7 +126,10 @@ Ref<OpenXRInteractionProfile> OpenXRInteractionProfile::new_profile(const char *
}
void OpenXRInteractionProfile::set_interaction_profile_path(const String p_input_profile_path) {
interaction_profile_path = p_input_profile_path;
OpenXRInteractionProfileMetadata *pmd = OpenXRInteractionProfileMetadata::get_singleton();
ERR_FAIL_NULL(pmd);
interaction_profile_path = pmd->check_profile_name(p_input_profile_path);
emit_changed();
}