From 226eb23a438981f3fc23b663e7511666e1e30436 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Wed, 30 Oct 2024 05:00:57 -0500 Subject: [PATCH] Remove deprecated "Contexual" boundary mode on Meta Quest (#223) --- plugin/src/main/cpp/export/meta_export_plugin.cpp | 4 +--- plugin/src/main/cpp/include/export/meta_export_plugin.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/plugin/src/main/cpp/export/meta_export_plugin.cpp b/plugin/src/main/cpp/export/meta_export_plugin.cpp index a734f0dd..5136e23d 100644 --- a/plugin/src/main/cpp/export/meta_export_plugin.cpp +++ b/plugin/src/main/cpp/export/meta_export_plugin.cpp @@ -156,7 +156,7 @@ MetaEditorExportPlugin::MetaEditorExportPlugin() { "", Variant::Type::INT, PROPERTY_HINT_ENUM, - "Enabled,Disabled,Contextual", + "Enabled,Disabled", PROPERTY_USAGE_DEFAULT, BOUNDARY_ENABLED_VALUE, false); @@ -428,8 +428,6 @@ String MetaEditorExportPlugin::_get_android_manifest_element_contents(const Ref< int boundary_mode = _get_int_option("meta_xr_features/boundary_mode", BOUNDARY_ENABLED_VALUE); if (boundary_mode == BOUNDARY_DISABLED_VALUE) { contents += " \n"; - } else if (boundary_mode == BOUNDARY_CONTEXTUAL_VALUE) { - contents += " \n"; } return contents; diff --git a/plugin/src/main/cpp/include/export/meta_export_plugin.h b/plugin/src/main/cpp/include/export/meta_export_plugin.h index fd4bc57a..df971802 100644 --- a/plugin/src/main/cpp/include/export/meta_export_plugin.h +++ b/plugin/src/main/cpp/include/export/meta_export_plugin.h @@ -65,7 +65,6 @@ static const int HAND_TRACKING_FREQUENCY_HIGH_VALUE = 1; static const int BOUNDARY_ENABLED_VALUE = 0; static const int BOUNDARY_DISABLED_VALUE = 1; -static const int BOUNDARY_CONTEXTUAL_VALUE = 2; } // namespace class MetaEditorExportPlugin : public OpenXREditorExportPlugin {