As I understand currently all shelf properties (script names, icons, etc) are saved in addons preferences.
Maybe we could have the option per shelf: Instead of saving all properties it in the preferences, save them in a .json file in the shelf direcoty on disk?
That could be essentially a new "shared" type of shelf. So if somebody updates the shelf properties everyone receives the update.
Environment variable for shelf search paths is a fantastic idea and makes it way easier to use it in a pipeline
Load on init is a good idea, I don't think we need post load behavior, on blender start should be enough (Maybe optional reload button?)
Wirte on save is a good question. I think it would be good to have a functionality to "lock" a shelf. So artists don't accidently overwrite studio shelfes or remove scripts. Maybe rather having write on save a dedicated save button could be better. I think saving should be a concious action, especially for shared shelves.
Feature request
Would be amazing to enable the workflow:
A shared studio shelf that all artists can load
As I understand currently all shelf properties (script names, icons, etc) are saved in addons preferences.
Maybe we could have the option per shelf: Instead of saving all properties it in the preferences, save them in a
.json
file in the shelf direcoty on disk?That could be essentially a new "shared" type of shelf. So if somebody updates the shelf properties everyone receives the update.