File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -599,10 +599,9 @@ EditorRunBar::EditorRunBar() {
599599
600600 bool add_play_xr_mode_options = false ;
601601#ifndef XR_DISABLED
602- if (OS::get_singleton ()->has_feature (" xr_editor" ) &&
603- (XRServer::get_xr_mode () == XRServer::XRMODE_ON ||
604- (XRServer::get_xr_mode () == XRServer::XRMODE_DEFAULT && GLOBAL_GET (" xr/openxr/enabled" )))) {
605- // If this is the XR editor and openxr is enabled, we turn the `play_scene_button` and
602+ if (XRServer::get_xr_mode () == XRServer::XRMODE_ON ||
603+ (XRServer::get_xr_mode () == XRServer::XRMODE_DEFAULT && GLOBAL_GET (" xr/openxr/enabled" ))) {
604+ // If OpenXR is enabled, we turn the `play_scene_button` and
606605 // `play_custom_scene_button` into MenuButtons to provide the option to start a scene in
607606 // either regular mode or XR mode.
608607 add_play_xr_mode_options = true ;
You can’t perform that action at this time.
0 commit comments