Blender Git Commits

Blender Git "temp-workspace-multi-window" branch commits.

Page: 5 / 6

December 8, 2016, 19:24 (GMT)
Make window-level scene switching work
December 8, 2016, 17:36 (GMT)
Update RNA and UI scripts to use scene from window
December 7, 2016, 23:17 (GMT)
Main work to move active scene into window

Added scene as argument to area/region listeners. It's only used in a really few cases though, I might instead do a lookup.
December 6, 2016, 22:52 (GMT)
Rename notifier category: NC_SCREEN -> NC_WORKSPACE
December 6, 2016, 22:43 (GMT)
Fix crash when duplicating window
December 6, 2016, 22:14 (GMT)
Manage screen creation within workspace-layout editor API
December 6, 2016, 16:43 (GMT)
Move ED_workspace_layout API into own file
December 6, 2016, 14:36 (GMT)
Fix crash when deleting layouts

Behavior change: The layout we switch to when deleting another one now has to meet similar requirements as the one we choose for cycling layouts (Ctrl+Arrow left/right). E.g. no hidden screen will be activated.
December 6, 2016, 01:42 (GMT)
Fix crash when toggling area fullscreen
December 6, 2016, 00:58 (GMT)
Make layout cycling work (Ctrl+Arrow Left/Right)
December 5, 2016, 23:36 (GMT)
Make changing layout within workspace work
December 5, 2016, 17:26 (GMT)
Fix mistake in last (non-merge) commit
December 5, 2016, 17:22 (GMT)
Merge branch 'blender2.8' into workspaces
December 5, 2016, 17:14 (GMT)
Make layout template only show layouts of current workspace

Mainly had to do some changes to template_ID to make this work. It now supports setting a custom RNA collection to search the ID's in.
December 4, 2016, 22:08 (GMT)
Make duplicating workspaces work
December 4, 2016, 20:47 (GMT)
Fixes for changing layout with workspace

Changing workspace should now change to the active layout of the workspace just fine.
Screen/workspace changing is still a bit hacky since we can't do it during normal handlers. Not sure how we could do it instead, for now I'm just copying hacks from screen changing.
December 3, 2016, 23:51 (GMT)
Fix layout changing when changing workspace
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.
December 2, 2016, 16:40 (GMT)
Add/use worksace API functions for adding/changing/deleting

Also removed anything that influences workspace user count, from now on it's simply *always* 1.
December 2, 2016, 10:58 (GMT)
Add workspace to bContext
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021