Bforartists / Bforartists

Bforartists is a fork of the popular 3D software Blender, with the goal to improve the UI.
http://www.bforartists.de
Other
572 stars 74 forks source link

Addon - Default Libraryr - Register default asset shelf categories to use the Default Library categories #4582

Open Draise14 opened 1 month ago

Draise14 commented 1 month ago

The new asset shelves for node editors and 3D View now can have default tags, but they must be saved in the startup. We should have our defaults tags and essentials categories listed and stored for user defaults and UX.

Draise14 commented 1 month ago

@zNightlord do you know how to store these into the startup file? I initially did a startup test with a swap out, but it didn't quite work as intended. Are these potentially stored as a userpref.blend?

EDIT: ok, did a userpref swap out, the categories definately are not stored, seems only in session. Maybe an addon feature needs to be added to the default library addon.

zNightlord commented 1 month ago

@zNightlord do you know how to store these into the startup file? I initially did a startup test with a swap out, but it didn't quite work as intended. Are these potentially stored as a userpref.blend?

EDIT: ok, did a userpref swap out, the categories definately are not stored, seems only in session. Maybe an addon feature needs to be added to the default library addon.

It should be in something like startup file user preferences, that is how the brush assets are stored unless I miss something 🤔 image UI: Option to store enabled asset shelf catalogs in preferences

Draise14 commented 4 weeks ago

Ah, now I see how it works. I will have to make the addon define the categories then let the user opt-in to save the cateogries afer first use I guess.. like user recommended categories from the default library.

Draise14 commented 1 week ago

Yeah, may have to close this, as the default categories are stored in the user preferences, and first use doesn't have this. Unless we make an addon that automatically registers these categories on first use.

Will convert to an addon task for the Default Library addon.