Brush Assets: Make enabled catalog storage in preferences optional #120264

Merged
Member

Adds a new asset shelf option (STORE_ENABLED_CATALOGS_IN_PREFERENCES option in BPY) to use the Preferences for storing the enabled catalogs. This way asset shelf types can decide if for their use-case, they want to synchronize the enabled catalogs over Blender sessions and files, or keep the stored locally in the file.

This is important because for example on one hand, it would be annoying if for brush assets you'd have to enable the visible catalog tabs for every 3D View and every file, while on the other hand you need that level of control for the pose library where the catalogs the rigger/animator cares about varies from project to project, character to character and shot to shot.

Conceptually this also makes some sense: The new brush assets workflow synchronizes brush assets and their catalogs across Blender sessions and files, basically making them globally accessible independent of the current file/project, so treating the enabled catalogs the same is consistent.

Adds a new asset shelf option (`STORE_ENABLED_CATALOGS_IN_PREFERENCES` option in BPY) to use the Preferences for storing the enabled catalogs. This way asset shelf types can decide if for their use-case, they want to synchronize the enabled catalogs over Blender sessions and files, or keep the stored locally in the file. This is important because for example on one hand, it would be annoying if for brush assets you'd have to enable the visible catalog tabs for every 3D View and every file, while on the other hand you need that level of control for the pose library where the catalogs the rigger/animator cares about varies from project to project, character to character and shot to shot. Conceptually this also makes some sense: The new brush assets workflow synchronizes brush assets and their catalogs across Blender sessions and files, basically making them globally accessible independent of the current file/project, so treating the enabled catalogs the same is consistent.
Julian Eisel added 1 commit 2024-04-04 18:59:04 +02:00
Julian Eisel added 1 commit 2024-04-04 19:24:06 +02:00
Julian Eisel added 1 commit 2024-04-10 17:16:09 +02:00
Julian Eisel added 1 commit 2024-04-11 16:45:04 +02:00
Julian Eisel added 1 commit 2024-04-11 17:11:10 +02:00
Julian Eisel changed title from WIP: Make enabled catalog storage in preferences optional to Brush Assets: Make enabled catalog storage in preferences optional 2024-04-11 17:12:26 +02:00
Julian Eisel requested review from Brecht Van Lommel 2024-04-17 18:10:11 +02:00
Julian Eisel requested review from Hans Goudey 2024-04-17 18:10:38 +02:00
Hans Goudey reviewed 2024-04-17 18:25:07 +02:00
Hans Goudey left a comment
Member

Seems pretty straightforward. It would be nice to commit this (except for the BrushAssetShelf part) to main already though.

Seems pretty straightforward. It would be nice to commit this (except for the `BrushAssetShelf` part) to main already though.
@ -2312,0 +2313,4 @@
"STORE_ENABLED_CATALOGS_IN_PREFERENCES",
0,
"Store Enabled Catalogs in Preferences",
"Use the Preferences to store the enabled catalogs of this asset shelf, rather than "
Member

Simplification:
Store the shelf's enabled catalogs in the preferences rather than the local asset shelf settings

Simplification: `Store the shelf's enabled catalogs in the preferences rather than the local asset shelf settings`
Hans Goudey approved these changes 2024-04-17 18:27:05 +02:00
Julian Eisel added 1 commit 2024-04-23 21:12:15 +02:00
Julian Eisel added 1 commit 2024-04-23 21:13:00 +02:00
Julian Eisel merged commit f2086022ee into brush-assets-project 2024-04-24 17:37:33 +02:00
Julian Eisel deleted branch temp-asset-shelf-enabled-catalogs-prefs 2024-04-24 17:37:36 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#120264
No description provided.