Pose Library: Update to use the asset shelf (when enabled) #104546

Merged
Julian Eisel merged 33 commits from asset-shelf into main 2023-08-04 15:00:21 +02:00
Member

Motivation

A dedicated region to display poses was already on the wish-list during initial discussions for the new asset based pose library design. To minimize development time, it was decided to use the sidebar for the start instead. Problem is that this space is used for bone pickers, selection set access and all kinds of other features, typically from add-ons. So this is precious space for all kinds of important functionality, and animators end up scrolling and switching tabs a lot, slowing down the workflow.

Introducing: The Asset Shelf

The asset shelf being introduced for 4.0 addresses this in a design that is applicable throughout Blender. It is designed to provide fast, context (like mode and tool) based access to assets, at first in the 3D View, possibly in other editors as well. Unlike the UI in the sidebar, it also provides asset catalog based navigation.

Note: It was decided to not include an asset library selector and to always use the All asset library for now. With catalog based navigation that may be fine, but it's an option to bring back the asset library selector still.

It is intentionally easy for add-ons to register an own asset shelf for a given context. It works similar to registering a panel, menu or operator type. To customize behavior like clicking and dragging, the design allows add-ons to override the desired keymap items. Operators can query the active asset through context.

Technical documentation: https://developer.blender.org/docs/asset_system/user_interface/asset_shelf/


The Ellie Pose Library asset bundle can be updated to show the asset shelf instead.

Experimental Feature:
The asset shelf is still an experimental feature (enable Preferences > Interface > Developer Extras and Preferences > Experimental > Asset Shelf) It will probably be made non-experimental soon. The updates to the pose library add-on use the old UI in the sidebar if the asset shelf is disabled. Toggling the option toggles between the UIs flawlessly.

### Motivation A dedicated region to display poses was already on the wish-list during initial discussions for the new asset based pose library design. To minimize development time, it was decided to use the sidebar for the start instead. Problem is that this space is used for bone pickers, selection set access and all kinds of other features, typically from add-ons. So this is precious space for all kinds of important functionality, and animators end up scrolling and switching tabs a lot, slowing down the workflow. ### Introducing: The Asset Shelf The asset shelf being introduced for 4.0 addresses this in a design that is applicable throughout Blender. It is designed to provide fast, context (like mode and tool) based access to assets, at first in the 3D View, possibly [in other editors as well](https://projects.blender.org/blender/blender/pulls/110589). Unlike the UI in the sidebar, it also provides asset catalog based navigation. ![](https://projects.blender.org/attachments/f0da2437-a054-41c4-a476-4daf141e280c) Note: It was decided to not include an asset library selector and to always use the _All_ asset library for now. With catalog based navigation that may be fine, but it's an option to bring back the asset library selector still. It is intentionally easy for add-ons to register an own asset shelf for a given context. It works similar to registering a panel, menu or operator type. To customize behavior like clicking and dragging, the design allows add-ons to override the desired keymap items. Operators can query the active asset through context. Technical documentation: https://developer.blender.org/docs/asset_system/user_interface/asset_shelf/ --- The [Ellie Pose Library asset bundle](https://www.blender.org/download/demo-files/#assets) can be updated to show the asset shelf instead. **Experimental Feature:** The asset shelf is still an experimental feature (enable _Preferences > Interface > Developer Extras_ and _Preferences > Experimental > Asset Shelf_) It will probably be made non-experimental soon. The updates to the pose library add-on use the old UI in the sidebar if the asset shelf is disabled. Toggling the option toggles between the UIs flawlessly.
Julian Eisel added 10 commits 2023-04-13 15:59:19 +02:00
Julian Eisel added 1 commit 2023-05-05 17:50:15 +02:00
Julian Eisel added 1 commit 2023-05-15 20:07:12 +02:00
Julian Eisel added 1 commit 2023-05-17 16:23:38 +02:00
Julian Eisel added 1 commit 2023-05-17 17:24:30 +02:00
The asset shelf will be merged as experimental feature at first, so keep
the old UI available.
Julian Eisel added 2 commits 2023-05-18 01:49:13 +02:00
Julian Eisel added 1 commit 2023-05-19 15:47:32 +02:00
Julian Eisel added 1 commit 2023-05-19 16:55:55 +02:00
Julian Eisel added 1 commit 2023-05-19 16:59:28 +02:00
These options are now handled via the context menu in the main branch
and in this branch.
Julian Eisel added 1 commit 2023-06-06 11:22:54 +02:00
Julian Eisel added 1 commit 2023-06-06 12:58:10 +02:00
See aab2ce8987, apply this change to the new pose library asset shelf
ase well.
Julian Eisel added 1 commit 2023-06-08 11:49:43 +02:00
Julian Eisel added 1 commit 2023-06-09 16:35:31 +02:00
Julian Eisel added 1 commit 2023-06-12 12:53:11 +02:00
Julian Eisel added 1 commit 2023-06-15 16:21:24 +02:00
Julian Eisel added 1 commit 2023-07-03 15:17:03 +02:00
Julian Eisel added 1 commit 2023-07-11 15:47:01 +02:00
Julian Eisel added 1 commit 2023-07-17 11:35:17 +02:00
Julian Eisel added 1 commit 2023-07-27 15:04:49 +02:00
Julian Eisel added 2 commits 2023-08-02 16:19:26 +02:00
Julian Eisel changed title from WIP: Update Pose Library add-on to use the asset shelf to Update Pose Library add-on to use the asset shelf 2023-08-02 16:28:50 +02:00
Julian Eisel requested review from Sybren A. Stüvel 2023-08-02 16:50:42 +02:00
Julian Eisel changed title from Update Pose Library add-on to use the asset shelf to Pose Library: Update to use the asset shelf 2023-08-02 16:53:22 +02:00
Julian Eisel changed title from Pose Library: Update to use the asset shelf to Pose Library: Update to use the asset shelf (when enabled) 2023-08-02 17:04:11 +02:00
Julian Eisel added 1 commit 2023-08-02 17:28:22 +02:00
Sybren A. Stüvel added the
Interest
Animation & Rigging
label 2023-08-03 11:29:01 +02:00
Julian Eisel added 1 commit 2023-08-04 14:45:56 +02:00
Julian Eisel merged commit 2faef81041 into main 2023-08-04 15:00:21 +02:00
Julian Eisel deleted branch asset-shelf 2023-08-04 15:00:22 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: blender/blender-addons#104546
No description provided.