diff --git a/src/open_vr/openvr_overlay_container.cpp b/src/open_vr/openvr_overlay_container.cpp index ae50a21..3ed98ca 100644 --- a/src/open_vr/openvr_overlay_container.cpp +++ b/src/open_vr/openvr_overlay_container.cpp @@ -67,7 +67,6 @@ OpenVROverlayContainer::OpenVROverlayContainer() { overlay_width_in_meters = 1.0; overlay_visible = true; tracked_device_name = ""; - fallback_behavior = OpenVROverlayContainer::TrackedDeviceFallbackBehavior::Absolute; overlay = 0; } diff --git a/src/open_vr/openvr_overlay_container.h b/src/open_vr/openvr_overlay_container.h index 754ae8a..893fc9b 100644 --- a/src/open_vr/openvr_overlay_container.h +++ b/src/open_vr/openvr_overlay_container.h @@ -11,14 +11,6 @@ namespace godot { class OpenVROverlayContainer : public SubViewportContainer { GDCLASS(OpenVROverlayContainer, SubViewportContainer) -public: - // If tracked_device is set and the requested device is not available, the - // fallback behavior decides what happens to the overlay. - enum TrackedDeviceFallbackBehavior { - Absolute, // Revert to absolute transform (positioned in the world) - Hide // Hide the overlay - }; - private: openvr_data *ovr; vr::VROverlayHandle_t overlay; @@ -29,8 +21,6 @@ class OpenVROverlayContainer : public SubViewportContainer { HashSet initial_flags; String tracked_device_name; - TrackedDeviceFallbackBehavior fallback_behavior; - Transform3D absolute_position; // Used when tracked_device == "" Transform3D tracked_device_relative_position; // Used when tracked_device != ""