Blender Git Loki

Git Commits -> Revision 8bfc10c

Revision 8bfc10c by Julian Eisel (HMD_viewport)
November 19, 2016, 12:38 (GMT)
Make HMD window a proper 'restricted' window

A restricted window is a new concept that doesn't allow changing the screen of a window in any way. This way we can ensure the HMD window is only used for displaying the 3D View, so users can't accidentally change it without knowing how to get back. This also fixes some issues we had when using temp screens like they're used for UserPrefs.
Fixes:
* Could open toolbar/properties in HMD view
* HMD window used when opening UserPrefs through menu/shortcut
* Could easily change editor to non-3D-View

Commit Details:

Full Hash: 8bfc10ce66d799771e4e5301053e4a84fc14e920
Parent Commit: a29c325
Lines Changed: +151, -74

13 Modified Paths:

/source/blender/editors/include/ED_screen.h (+1, -0) (Diff)
/source/blender/editors/render/render_view.c (+14, -8) (Diff)
/source/blender/editors/screen/area.c (+5, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+11, -5) (Diff)
/source/blender/editors/screen/screen_ops.c (+5, -9) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+12, -2) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+5, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+4, -5) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+84, -39) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021