Blender Git Loki
Git Commits -> Revision 5c1da8a
Revision 5c1da8a by Dalai Felinto (multiview) July 29, 2014, 02:41 (GMT) |
multiview: allow stereo display as a per window settings That now means the D operator (stereo_toggle) can also be used to change the stereo display settings of the current 'window'. The 'toggle' part is currently not entirely functional because among other things I still need to integrate the fullscreen editor operator in the branch, so it can be integrated in this operator too. This is advanced, but only advanced users should be needing multiple displays to work in 3d (and those users can add their own shortcuts for that, if we document it all well). Same goes for pie-menus, we have approximately ten 3d modes, the mode switch could very well fit in a pie-menu. If a new file is loaded with 'Load UI' it will re-set the 'stereo display' settings to the user preference ones. Otherwise it will keep the windows to be whatever they were. So although the wmWindow.stereo_display is saved in the file, it's never used. |
Commit Details:
Full Hash: 5c1da8a78ab6e0d2e2fa13415a670f1047a2218c
Parent Commit: 05c8590
Lines Changed: +217, -99
13 Modified Paths:
/release/scripts/startup/bl_ui/space_userpref.py (+11, -10) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+15, -13) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+71, -58) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+6, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+6, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+12, -1) (Diff)
/source/blender/windowmanager/intern/wm_stereo.c (+77, -14) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+4, -1) (Diff)
/source/blender/windowmanager/wm_stereo.h (+5, -2) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+15, -13) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+71, -58) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+6, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+6, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+12, -1) (Diff)
/source/blender/windowmanager/intern/wm_stereo.c (+77, -14) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+4, -1) (Diff)
/source/blender/windowmanager/wm_stereo.h (+5, -2) (Diff)