Blender Git Loki

Git Commits -> Revision 848df59

March 28, 2017, 20:52 (GMT)
Allow choosing workspace from user config when adding workspace

When clicking the '+' icon to add a new workspace, a menu is spawned
now, showing the option 'Duplicate Current', but also a list of all
workspaces stored in a 'workflow.blend' as part of the user
configuration (next to startup.blend and userpref.blend)
Note that this workflow.blend has to be stored manually into the user
config folder right now. Of course it's not supposed to stay like this,
it should all be handled through simple operators for adding and removing
workspaces from the user configuration. We need to find out how that
would work UI wise though (tm).

When choosing a workspace from the menu, Blender does nothing but
appending the workspace from the workflow.blend file.

This design allows having a custom workspace setup stored as part of
the user configuration, it's however still possible to append workspaces
from regular .blend files.
This is useful e.g. if users want to open their workspaces without
overriding the workflow.blend when using the machine of someone else.

Commit Details:

Full Hash: 848df597732d3284de2521e7f31deff156e1a00a
Parent Commit: c0638a4
Lines Changed: +144, -6

10 Modified Paths:

/release/scripts/startup/bl_ui/space_info.py (+1, -1) (Diff)
/source/blender/blenkernel/BKE_appdir.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_blendfile.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+23, -0) (Diff)
/source/blender/blenloader/BLO_readfile.h (+6, -0) (Diff)
/source/blender/editors/space_file/file_utils.c (+1, -0) (Diff)
/source/blender/editors/workspace/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/workspace/workspace_edit.c (+105, -5) (Diff)
/source/blender/imbuf/intern/thumbs_blend.c (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_files_link.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021