From 24b7d973fa1df18af5d2c356e74a92849a0e9863 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Wed, 31 Jul 2024 16:36:44 -0500 Subject: [PATCH] Fix type-o in `MobileVRInterface` sample code in docs: `xr` -> `use_xr` --- modules/mobile_vr/doc_classes/MobileVRInterface.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mobile_vr/doc_classes/MobileVRInterface.xml b/modules/mobile_vr/doc_classes/MobileVRInterface.xml index 0dbe06d2207..61d802aea37 100644 --- a/modules/mobile_vr/doc_classes/MobileVRInterface.xml +++ b/modules/mobile_vr/doc_classes/MobileVRInterface.xml @@ -10,7 +10,7 @@ [codeblock] var interface = XRServer.find_interface("Native mobile") if interface and interface.initialize(): - get_viewport().xr = true + get_viewport().use_xr = true [/codeblock]