From 5402b74827b0f6041cd317f6208f3ec4e872d40f 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 0dbe06d22077..61d802aea37f 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]