Blender Git Commits

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

Page: 3 / 6

January 23, 2017, 16:20 (GMT)
Change workspace allocation string

Makes it easier to grep.
January 23, 2017, 16:18 (GMT)
Fix error on some compiler configurations

Sergey was having compile errors here, I couldn't recreate them though. It actually seems weird that we have to include BLI_utildefines.h before BLI_listbase.h, since the latter one already includes the former. Don't want to bother much with such minor issues though, so let's just make all compilers happy ;)

Patch is by @sergey himself.
January 22, 2017, 22:26 (GMT)
Merge branch 'blender2.8' into workspaces
January 22, 2017, 19:56 (GMT)
Fix and compile time option for workspace object-mode

Now we also sync the workspace object-mode when selecting a different object. It's still quite easy to get the mode of the active object and the one stored in the workspace out of sync, but fixing this would require a bunch of changes that would only be temporary anyway. Remember, plan is to make object-mode a purely workspace level option, not storing it within the object anymore.
The current object-mode syncing isn't supposed to stay there for long, I added a #define USE_WORKSPACE_MODE so we can disable it easily (DNA still stores it in files though).
January 6, 2017, 00:18 (GMT)
Fix compile error and warning in release builds
January 5, 2017, 22:34 (GMT)
More cleanup (renaming, comments, etc), added asserts
January 5, 2017, 21:24 (GMT)
Fix foreach_ID_link iterator, undo version bump, cleanup
January 5, 2017, 19:49 (GMT)
Improve button placement in Info Editor

* Moved object mode menu in front of scene selection buttons.
* Added separators.
* Show scene selection buttons in editor full-screen

Of course this will all change again once the actual new top-bar is there.
January 5, 2017, 19:33 (GMT)
Remove accidentally committed files
January 5, 2017, 19:23 (GMT)
Rename directory editors/screen/ to editors/workspace/

Screen is now considered lower level as workspaces, so screen files should rather be in a folder called 'workspace' instead of having workspace files in a 'screen' directory.
Also corrected doxygen info for editors/scene/.
January 5, 2017, 18:35 (GMT)
Cleanup: Screen/workspace change functions, comments, naming, etc
January 5, 2017, 15:43 (GMT)
Fix glitch when removing custom transform orientations

Scenes aren't stored within screens anymore, meaning we can't associate a 3D View in an inactive workspace/screen with a scene. This again means we can't identify the active transform orientation of a 3D View by its index (it might belong to a different scene) to unset it correctly when removing it. We now additionally store a pointer in the 3D View to the active custom orientation data to identify it.
January 5, 2017, 00:15 (GMT)
Remove "Use Global Scene" option

This option isn't really needed now that scenes are only on window level.
January 5, 2017, 00:00 (GMT)
Remove redundant Depsgraph update call

Scene can't be changed by changing a screen or workspace anymore.
January 4, 2017, 23:36 (GMT)
Merge branch 'blender2.8' into workspaces
January 4, 2017, 23:17 (GMT)
Fix minor mistake in python UI code
January 4, 2017, 22:35 (GMT)
Make object mode part of the workspace

Each workspace now stores the last set object mode type, activating a workspace also activates this mode. This commit also removes the object mode menu from the 3D view header, it's displayed in the info editor header now (and later will be in the top-bar).

We have one issue with Grease Pencil here though: The active grease pencil data-block depends on the active editor, and an editor can only enter GPencil edit mode if it has an active GPencil data-block. The new object mode menu is independent of 3D Views (or any other editor supporting GPencil) though. For now the menu simply won't show the GPencil edit mode item, it will be back once GPencil gets its own object type (as planned). GPencil still provides other ways to enter this mode.
January 4, 2017, 01:21 (GMT)
Move workspace DNA back into DNA module

Added some special include guards to protect from access from outside of BKE_workspace and makesdna.
January 4, 2017, 00:12 (GMT)
Properly append screens with workspaces

Meaning screen data is now fully editable when appending a screen(-layout) indirectly by appending a workspace. Screens aren't visible while browsing inside .blend files, don't think we need/want that.
January 3, 2017, 23:55 (GMT)
Merge branch 'blender2.8' into workspaces
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021