Merge pull request #89282 from Rindbee/reduce-indent-in-XRInterface-example-code

Reduce indentation in `XRInterface` class document example code
This commit is contained in:
Rémi Verschelde 2024-03-09 00:52:23 +01:00
commit d6a9a70101
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 11 additions and 11 deletions

View File

@ -127,7 +127,7 @@
if xr_interface and xr_interface.is_initialized():
var vp: Viewport = get_viewport()
vp.use_xr = true
var acceptable_modes = [ XRInterface.XR_ENV_BLEND_MODE_OPAQUE, XRInterface.XR_ENV_BLEND_MODE_ADDITIVE ]
var acceptable_modes = [XRInterface.XR_ENV_BLEND_MODE_OPAQUE, XRInterface.XR_ENV_BLEND_MODE_ADDITIVE]
var modes = xr_interface.get_supported_environment_blend_modes()
for mode in acceptable_modes:
if mode in modes: