Asset Shelf (for brush assets, pose libraries, etc.) #102879
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#102879
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Developed as part of #101895 (Brush Asset Project).
This is an epic (high level requirement) for the brush asset project, but is meant as a new general UI to provide an efficient usage experience for all kinds of asset (as opposed to a creation and organization experience). It includes the following main deliverables:
35e54b52e6
ARegionType.poll()
to remove the asset shelf when empty - In master:fa0f295b53
852becd76c
,6da90998e2
,c3b36345c7
,527e4e2be7
8848a78111
,86e72999dd
General implementation TODOs:
ImplementAsset traits were delayed due to open design concerns, so this is delayed too.bl_asset_traits
syntax for BPYCustom (BPY defined) asset shelves
While not a priority for the brush assets project, it should be possible for add-ons to display an asset shelf in further contexts, say an asset shelf for materials in object mode. This requires that the editor supports asset shelves, which is only the case for the 3D view for now.
This is how one could be registered through BPY:
Julian Eisel referenced this issue2023-03-30 12:53:59 +02:00
I'm confused about the concept of having multiple asset shelf types that can be registered from Python. There can be only one visible at a time, and there is no user control over which one is visible, and probably there shouldn't be to avoid complexity.
It's not obvious to me that for example in sculpt mode we can know that you want only brush assets, but not material or object assets. That configuration for which 3D viewport in which mode should have which assets can be left to workspaces and automatic detection of which datablocks can be used in which modes, rather than having something Python controlled.
For me it's less about having multiple asset shelves at the same time, more about an elegant & flexible way to control the visible assets, settings, behavior & other UI elements - I'll explain below. I do see cases where multiple asset shelf types at the same time can be useful, like brushes, textures, matcaps and studio lights in paint modes. Or poses and selection sets in pose mode. Possibly the catalogs are enough for that though.
Here are some things that I'd consider:
All in all I think the asset shelf type design serves these needs quite well. It makes it very easy to provide assets for a given context. Addin
Now the question is how to deal with multiple shelf types at the same time (when multiple shelf
polls()
succeed in a given context). We probably have to answer that either way if we allow Python control (which seems important), since multiple add-ons might have conflicting settings. I outlined how this is currently handled in the docs, and noted a possible alternative solution.Ok, so basically the asset shelf is for modes and tools, and the asset browser is for workspaces. That's a clear distinction that makes sense to me.
That’s a nice way to think about it, yes.
Will close this now since the main functionality including all points listed here is in
main
now. Further improvements such as listed in #107881 are planned to be done as regular development.