[Bf-blender-cvs] [a7e3b04e7a4] vr_scene_inspection: Fix compile error when compiling with WITH_XR_OPENXR disabled (tm)

Julian Eisel noreply at git.blender.org
Tue Mar 17 15:51:00 CET 2020


Commit: a7e3b04e7a4f64cd51fda9f1c75cd3273f0e7824
Author: Julian Eisel
Date:   Tue Mar 17 15:50:40 2020 +0100
Branches: vr_scene_inspection
https://developer.blender.org/rBa7e3b04e7a4f64cd51fda9f1c75cd3273f0e7824

Fix compile error when compiling with WITH_XR_OPENXR disabled (tm)

===================================================================

M	source/blender/editors/space_view3d/space_view3d.c

===================================================================

diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index 3836ed059a2..80856c0960b 100644
--- a/source/blender/editors/space_view3d/space_view3d.c
+++ b/source/blender/editors/space_view3d/space_view3d.c
@@ -939,9 +939,11 @@ static void view3d_main_region_listener(
         if (wmn->subtype == NS_VIEW3D_GPU) {
           rv3d->rflag |= RV3D_GPULIGHT_UPDATE;
         }
+#ifdef WITH_XR_OPENXR
         else if (wmn->subtype == NS_VIEW3D_SHADING) {
           ED_view3d_xr_shading_update(G_MAIN->wm.first, v3d);
         }
+#endif
         ED_region_tag_redraw(region);
         WM_gizmomap_tag_refresh(gzmap);
       }



More information about the Bf-blender-cvs mailing list