From 505a19ed75b2829a561475ab4acc075b715a8499 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Sat, 4 Apr 2020 02:17:49 +0200 Subject: Cleanup: Split up Window-Manager VR file (and related changes) Splits up wm_xr.c into multiple files in their own folder: source/blender/windowmanager/xr. So this matches how the message bus and gizmo code have their own folder and files. This allows better structuring and should make the code scale better. I rather do this early on than to wait until we end up with a single, huge file. Also improves a bit how data is prepared and updated for drawing. --- source/blender/windowmanager/intern/wm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/windowmanager/intern/wm.c') diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c index e9d2ee9c662..54e6735175d 100644 --- a/source/blender/windowmanager/intern/wm.c +++ b/source/blender/windowmanager/intern/wm.c @@ -55,6 +55,9 @@ #include "wm_draw.h" #include "wm_event_system.h" #include "wm_window.h" +#ifdef WITH_XR_OPENXR +# include "wm_xr.h" +#endif #include "BKE_undo_system.h" #include "ED_screen.h" -- cgit v1.2.3