Blender Git Commit Log

Git Commits -> Revision a286148

Revision a286148 by Julian Eisel (master)
October 21, 2021, 20:18 (GMT)
Assets: Allow specific data-block types to be enabled by default

Updates UI code so that we can enable the asset UI for specific data-block
types by default, i.e. irrespective of the "Extended Asset Browser"
experimental feature.
"Mark as Asset" and "Clear Asset" are always visible in the Outliner context
menu now, but are grayed out if not applicable and show a disabled hint in the
tooltip.

A known side-effect of this: The "Mark as Asset" and "Clear Asset" operators
are enabled for action data-blocks now, even though only pose actions created
through the Pose Libraries add-on are supported. If this is something worth
addressing is being discussed still.

Differential Revision: https://developer.blender.org/D12955

Reviewed by: Sybren St�vel

Commit Details:

Full Hash: a28614879986c26c7d354ebe659e2e327503ed28
Parent Commit: 9aab1a4
Lines Changed: +197, -44

2 Added Paths:

/source/blender/editors/asset/ED_asset_type.h (+55, -0) (View)
/source/blender/editors/asset/intern/asset_type.cc (+62, -0) (View)

8 Modified Paths:

/release/scripts/startup/bl_ui/space_filebrowser.py (+1, -2) (Diff)
/release/scripts/startup/bl_ui/space_outliner.py (+0, -4) (Diff)
/source/blender/editors/asset/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/asset/intern/asset_mark_clear.cc (+6, -1) (Diff)
/source/blender/editors/asset/intern/asset_ops.cc (+66, -34) (Diff)
/source/blender/editors/include/ED_asset.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_context_menu.c (+1, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+3, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021