Blender Git Commit Log
Git Commits -> Revision 3c1b955
March 16, 2017, 17:50 (GMT) |
Store active layout of each workspace per window Allows users having a different active window stored even in inactive workspaces per window. So that when activating a workspace the layout is activated that was active the last time the workspace was active in this window. This is basically a per window, per workspace storage, but it's probably how users would expect things to work. Also, getting file read/write to work correctly was a challenge once again, had to use global oldnew-map for pointer lookup on file read. And another 'also': had to change order in which IDs are freed, so that workspaces are freed after window-manager. Needed so that we can free assignments/relations correctly when closing windows. |
Commit Details:
Full Hash: 3c1b955b4d06e735dd7dd247d887e613c4b03bb4
Parent Commit: 398c654
Lines Changed: +217, -50
15 Modified Paths:
/source/blender/blenkernel/BKE_workspace.h (+15, -4) (Diff)
/source/blender/blenkernel/intern/library.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/workspace.c (+123, -7) (Diff)
/source/blender/blenloader/intern/readfile.c (+19, -7) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+3, -3) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -0) (Diff)
/source/blender/editors/workspace/screen_edit.c (+2, -1) (Diff)
/source/blender/editors/workspace/screen_ops.c (+1, -1) (Diff)
/source/blender/editors/workspace/workspace_edit.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_ID.h (+1, -1) (Diff)
/source/blender/makesdna/dna_workspace_types.h (+21, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+4, -3) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+13, -12) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -2) (Diff)
/source/blender/blenkernel/intern/library.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/workspace.c (+123, -7) (Diff)
/source/blender/blenloader/intern/readfile.c (+19, -7) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+3, -3) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -0) (Diff)
/source/blender/editors/workspace/screen_edit.c (+2, -1) (Diff)
/source/blender/editors/workspace/screen_ops.c (+1, -1) (Diff)
/source/blender/editors/workspace/workspace_edit.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_ID.h (+1, -1) (Diff)
/source/blender/makesdna/dna_workspace_types.h (+21, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+4, -3) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+13, -12) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -2) (Diff)