Blender Git Loki

Git Commits -> Revision d81b230

Revision d81b230 by Julian Eisel (HMD_viewport)
April 10, 2016, 17:57 (GMT)
Automate selecting HMD device

This automates setting of HMD device UserPref option a bit, so that it's ready to go without manual adjustments.
We use the last device plugged in on startup (if one is available). On runtime, plugging in a device makes it active if 'None' was previously selected in the UserPref option.
Saving HMD in UserPrefs should also be supported, but can't test.
Also removes EVT_HMD_DEVICENUM_CHANGE and version patch, they're not needed anymore.

Commit Details:

Full Hash: d81b2309bc2af81bbc444dfa7e577555570ee9f7
Parent Commit: 16af40c
Lines Changed: +26, -22

5 Modified Paths:

/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/editors/interface/resources.c (+0, -4) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+6, -16) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+19, -0) (Diff)
/source/blender/windowmanager/wm_event_types.h (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021