Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated "Contexual" boundary mode on Meta Quest #223

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions plugin/src/main/cpp/export/meta_export_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ MetaEditorExportPlugin::MetaEditorExportPlugin() {
"",
Variant::Type::INT,
PROPERTY_HINT_ENUM,
"Enabled,Disabled,Contextual",
"Enabled,Disabled",
PROPERTY_USAGE_DEFAULT,
BOUNDARY_ENABLED_VALUE,
false);
Expand Down Expand Up @@ -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 += " <uses-feature tools:node=\"replace\" android:name=\"com.oculus.feature.BOUNDARYLESS_APP\" android:required=\"true\" />\n";
} else if (boundary_mode == BOUNDARY_CONTEXTUAL_VALUE) {
contents += " <uses-feature tools:node=\"replace\" android:name=\"com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP\" android:required=\"true\" />\n";
}

return contents;
Expand Down
1 change: 0 additions & 1 deletion plugin/src/main/cpp/include/export/meta_export_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading