From 96bbdf72490971d886f6ce57476f11bb14523f15 Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Sat, 12 Nov 2022 01:59:22 +1100 Subject: Various fixes for OpenXR action map meta data and editing --- modules/openxr/action_map/openxr_interaction_profile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/openxr/action_map/openxr_interaction_profile.h') diff --git a/modules/openxr/action_map/openxr_interaction_profile.h b/modules/openxr/action_map/openxr_interaction_profile.h index c77fd490bb..c7db77870e 100644 --- a/modules/openxr/action_map/openxr_interaction_profile.h +++ b/modules/openxr/action_map/openxr_interaction_profile.h @@ -34,7 +34,7 @@ #include "core/io/resource.h" #include "openxr_action.h" -#include "openxr_defs.h" +#include "openxr_interaction_profile_meta_data.h" class OpenXRIPBinding : public Resource { GDCLASS(OpenXRIPBinding, Resource); @@ -94,6 +94,7 @@ public: void add_new_binding(const Ref p_action, const char *p_paths); // Create a new binding for this profile void remove_binding_for_action(const Ref p_action); // Remove all bindings for this action + bool has_binding_for_action(const Ref p_action); // Returns true if we have a binding for this action ~OpenXRInteractionProfile(); }; -- cgit v1.2.3