Skip to content

Commit

Permalink
Remove deprecated "Contexual" boundary mode on Meta Quest (GodotVR#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsnopek authored Oct 30, 2024
1 parent dbc2180 commit 226eb23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
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

0 comments on commit 226eb23

Please sign in to comment.