Blender Git Commit Log
Git Commits -> Revision 6b47c1d
Revision 6b47c1d by Julian Eisel (temp-tab_drag_drop, temp-workspace-multi-window, topbar, workspaces) December 3, 2016, 13:43 (GMT) |
Move active screen layout into the active workspace Changing the workspace now also changes the layout. Note that there is a drawing issue here so you'll have to move the window to see the change. There is also a crash when closing Blender, need to investigate some more. This commit also cares for compatibility, we simply create a new workspace for each screen layout of the old file. I want to avoid any low-level access of workspace related data, instead everything should go through an API. Thus I also added some API functions for workspaces. To store bScreens (aka layout) using a ListBase in a workspace, I had to add a bScreen wrapper, called WorkSpaceLayout. |
Commit Details:
Full Hash: 6b47c1d90b0c951ef882299a82d1cbf9240b7bf0
Parent Commit: b9d1d90
Lines Changed: +530, -295
46 Modified Paths:
/release/scripts/startup/bl_ui/space_info.py (+5, -4) (Diff)
/source/blender/blenkernel/BKE_workspace.h (+26, -0) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+8, -8) (Diff)
/source/blender/blenkernel/intern/context.c (+6, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+7, -4) (Diff)
/source/blender/blenkernel/intern/image.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/workspace.c (+53, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+15, -3) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+14, -5) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+4, -2) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -1) (Diff)
/source/blender/editors/interface/interface.c (+3, -2) (Diff)
/source/blender/editors/interface/interface_eyedropper.c (+9, -11) (Diff)
/source/blender/editors/interface/interface_regions.c (+3, -1) (Diff)
/source/blender/editors/object/object_add.c (+2, -2) (Diff)
/source/blender/editors/render/render_internal.c (+6, -4) (Diff)
/source/blender/editors/render/render_update.c (+3, -1) (Diff)
/source/blender/editors/render/render_view.c (+9, -6) (Diff)
/source/blender/editors/screen/area.c (+9, -4) (Diff)
/source/blender/editors/screen/screen_edit.c (+50, -42) (Diff)
/source/blender/editors/screen/screen_intern.h (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+20, -19) (Diff)
/source/blender/editors/screen/workspace_edit.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+11, -4) (Diff)
/source/blender/editors/space_clip/clip_editor.c (+4, -7) (Diff)
/source/blender/editors/space_node/node_edit.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+5, -4) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+15, -1) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+1, -2) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+0, -45) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+58, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+38, -29) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+37, -29) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+12, -9) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+6, -2) (Diff)
/source/blender/windowmanager/intern/wm_stereo.c (+4, -2) (Diff)
/source/blender/windowmanager/intern/wm_subwindow.c (+3, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+59, -25) (Diff)
/source/blender/windowmanager/WM_api.h (+5, -0) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -0) (Diff)
/source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp (+1, -1) (Diff)
/source/blender/blenkernel/BKE_workspace.h (+26, -0) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+8, -8) (Diff)
/source/blender/blenkernel/intern/context.c (+6, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+7, -4) (Diff)
/source/blender/blenkernel/intern/image.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/workspace.c (+53, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+15, -3) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+14, -5) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+4, -2) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -1) (Diff)
/source/blender/editors/interface/interface.c (+3, -2) (Diff)
/source/blender/editors/interface/interface_eyedropper.c (+9, -11) (Diff)
/source/blender/editors/interface/interface_regions.c (+3, -1) (Diff)
/source/blender/editors/object/object_add.c (+2, -2) (Diff)
/source/blender/editors/render/render_internal.c (+6, -4) (Diff)
/source/blender/editors/render/render_update.c (+3, -1) (Diff)
/source/blender/editors/render/render_view.c (+9, -6) (Diff)
/source/blender/editors/screen/area.c (+9, -4) (Diff)
/source/blender/editors/screen/screen_edit.c (+50, -42) (Diff)
/source/blender/editors/screen/screen_intern.h (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+20, -19) (Diff)
/source/blender/editors/screen/workspace_edit.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+11, -4) (Diff)
/source/blender/editors/space_clip/clip_editor.c (+4, -7) (Diff)
/source/blender/editors/space_node/node_edit.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+5, -4) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+15, -1) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+1, -2) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+0, -45) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+58, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+38, -29) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+37, -29) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+12, -9) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+6, -2) (Diff)
/source/blender/windowmanager/intern/wm_stereo.c (+4, -2) (Diff)
/source/blender/windowmanager/intern/wm_subwindow.c (+3, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+59, -25) (Diff)
/source/blender/windowmanager/WM_api.h (+5, -0) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -0) (Diff)
/source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp (+1, -1) (Diff)