- Francesco-Bellini changed review status to Awaiting Review
- 1 mo
Scene Workspaces creates an alternative workspaces topbar, allowing you to filter and reorder workspaces, scene by scene.
Basically, you can decide which workspace you want to link to each scene.
Scene Workspaces can be particularly useful in projects with multiple scenes with different needs/purpose.
Scene Workspaces is based on simple custom properties at scene level.
You can customize Scene Workspaces from add-on preferences:
What you can usually to do by right-clicking on a workspace (and more) it's avaliable by clicking the near options button.
The first options are the ones from Scene Workspaces:
Shift + Ctrl + Page Up
Shift + Ctrl + Page Down
Note
Default options likeReorder to Front
,Reorder to Back
will only affect the global workspaces, and not the Scene Workspaces topbar.
Instead, use the ones marked with(scene only)
or use the panel instead.Also, default options
Previous Workspace
andNext Workspace
will follow the global workspaces order, and not the scene order.
Instead, use the ones marked with(scene)
or the relative shortcuts (default ones + Shift).
You can link other workspaces to the current scene, using the menu with the workspace icon:
or by clicking the active workspace, if it's not currently linked
You can also copy the linked workspaces from another scene, using the menu with the duplicate icon:
You can always reorder, rename, link and unlink the Scene Workspaces, using the panel Properties > Scene > Scene Workspaces
.
At the top, you can select and reorder, rename or unlink any workspace.
At the bottom, you can link the missing workspaces to the current scene.
You can use the add-on Custom Templates to prepare templates with your Scene Workspaces already configured.
In Blender, workspaces are common across scenes.
At the same time, you may need different workspaces in different scenes, depending on the purpose of the scene.
For example, you may want a scene with workspaces optimized for modelling and another Scene optimized for Video Editing, in the same project.
Scene Workspaces make this possible with the custom topbar and a custom property for each scene.
For more info, checkout the project's README.
Properties > Scene > Scene Workspaces
panelShow only with multiple scenes
(default: false)Auto initialize Scene Workspaces
(default: true)This extension does not require special permissions.
Code-wise it is good. I'll leave some functionality-feedback that is up to you to implement, but I'll not approve until you had time to respond.
Hi @nickberkley!
I understand you concerns...
For points 1 and 2, i would personally love to initialize scene workspaces with the original one, in the correct order. Was my original goal, actually.
Unfortunatly, as far as i understand, the workspaces order it's absolutely obscure to bpy. When you retrive workspaces from data or load them from another file, as far as i tried, there is absolutly no way to extract the correct order of the original workspaces topbar. It's like internal/hidden, somehow...
bpy.data.workspaces, for example simply list workspaces alfabetically.
And workspaces has no index or order number inside...
I also looked in the Blender File/Data Api data from blender outline and found nothing...
Seems impossibile to me to copy the order, as far as i concern, even tho i'd like to do it.
Regarding point 2, i agree it would be better (and i would like) to copy the order, but i didn't found any way of doing that (as far as i don't find where workspaces order is stored in .blend files, if exposed to bpy at all).
So, as of now, unless i simply didn't found it, i consider this as a "known issue", given my inability to retrive that order.
That said, if you could prove me wrong about the workspace order, I'd be more than happy to use it!
And that's why... Since the order would not match, i decided to start with empty workspace, so user understand it need to start from scratch and not from the original order. (again, if i could, i would)
For point 3, i was thinking the same thing using it... Would absolutely be better a "active element" based operation... I will fix that asap, so in any case, let's not approve this version.
If workspace order isn't available, I would advise to match the order of factory reset file. Its better to match order of some users than none. That way second issue can be solved as well and new scenes can be initiated with all workspaces linked. Most of the users (who are using default Blender) would not notice that known issue. But it would still be good to document that in description.
I should hardcode the default names of the default General, and try order what i've got with that?
As far as is know, user could start with 2D Animation, having none of those workspaces, or having a custom startup file as general with reordered workspaces, or using Custom Templates...
I mean, i could to an exeption if i see that all the workspace are exactly the one of my default order of the general...
But i don't like very much to give impression something works automatically, when it's only a fixed for a popular common case scenario...
I mean, i can order perfectly a new General file... What about 2D Animation, or any other possibile template?
I would create illusion of supporting ordering by default...
I mean, the addon is made to have different workspaces in different scene.
It's a feature i consider userful for semi-advanced users of blender (multi-scene users).
This prelude the fact that the user WILL touch workspaces, at least in one of the scenes, to make it different from the other. That's why i was going for a "build your own worksaces" approach...
Scene Workspaces is absolutely optional, for example, in a single-scene project...
What do you think?
Also, i'm thinking a new preference to hide Scene Workspaces at all from topbar, as long as the project has only one scene.
That would solve the initial situation for many, and seen the nature of the add-on it would make sense, to only show up with >= 2 scenes.
Every new project (unless somehow customized) would start with Scene Workspaces invisible, as long as it's not actually needed.
Ok! So, i worked on your feedback @nickberckley.
You can read the changelog for 1.1.0 for all details.
A couple of notes/highlights about what we said:
In particular, i also implemented an auto-order feature, covering only the workspaces from 5 default blender templates (and made that clear in READMEs and preferences).
Should do the trick for all default templates, and other with the same workspaces.
Should be more comfortable and customizable. Thanks for the useful feedback!
Turns out I gave you difficult task, sorry about that :D It does indeed feel and work much better. UI List is quite difficult thing to master, so this way is fine.
Thanks!
It was definitely worth it :D
Thanks again for your feedback, and for your commitment to the extensions platform!
Sign in to comment.
Ready for review