Blender Git Loki

Blender Git "topbar" branch commits.

Page: 18 / 18

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
December 2, 2016, 10:33 (GMT)
Add a workspace browsing button to Info Editor header

And actually make it work.
December 1, 2016, 22:59 (GMT)
Store a workspace in each window

Some details need to be figured out still (Windows should probably be able to share an active workspace).
December 1, 2016, 21:54 (GMT)
Initially add WorkSpace ID type
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021