summaryrefslogtreecommitdiff
path: root/modules/openxr/action_map/openxr_action_map.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-13 10:16:19 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-13 10:16:19 +0100
commitcd855f6516d48ff960cd904d29abbb324149f3c8 (patch)
tree66b4942ea8a6f258e985f524d241b8325b297dd8 /modules/openxr/action_map/openxr_action_map.h
parentcb7984e4113828f4c56d906f03f905053afc909a (diff)
parent96bbdf72490971d886f6ce57476f11bb14523f15 (diff)
Merge pull request #68528 from BastiaanOlij/openxr_actionmap_changes
Various fixes for OpenXR action map meta data and editing
Diffstat (limited to 'modules/openxr/action_map/openxr_action_map.h')
-rw-r--r--modules/openxr/action_map/openxr_action_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/openxr/action_map/openxr_action_map.h b/modules/openxr/action_map/openxr_action_map.h
index 8659cd3942..43a4d741f4 100644
--- a/modules/openxr/action_map/openxr_action_map.h
+++ b/modules/openxr/action_map/openxr_action_map.h
@@ -71,8 +71,8 @@ public:
// Helper functions for editor
Ref<OpenXRAction> get_action(const String p_path) const; // Retrieve an action using <action name>/<action> as our parameter
- void remove_action(const String p_path); // Remove action from action set, also removes it from interaction profiles
- PackedStringArray get_top_level_paths(Ref<OpenXRAction> p_action); // Determines the top level paths based on where an action is bound in interaction profiles
+ void remove_action(const String p_path, bool p_remove_interaction_profiles = false); // Remove action from action set, also removes it from interaction profiles
+ PackedStringArray get_top_level_paths(const Ref<OpenXRAction> p_action); // Determines the top level paths based on where an action is bound in interaction profiles
// TODO add validation to display in the interface that checks if we have action sets with the same name or if we have interaction profiles for the same path