Blender Git Loki

Git Commits -> Revision 3fc9fc1

Revision 3fc9fc1 by Julian Eisel (master)
December 16, 2020, 11:10 (GMT)
UI: Indicate asset data-blocks with an icon in Outliners & search menus

It's useful to easily see which data-blocks are assets and which not. So just
like we usually show the library linking/override icons, we show the asset icon
there (these are mutually exclusive data-block states).

Uses the `'MAT_SPHERE_SKY` icon, which wasn't used before (except by an
add-on!) and is sorta fitting, but not quite. We should either change this one
or add an own asset icon. Meanwhile this isn't too bad :)

Also adds an internal macro to check if a data-block is an asset, consistent to
how we do it for libraries and library overrides.

Commit Details:

Full Hash: 3fc9fc1cb46a49bbfa2da4443fb4edefcdc3b89d
Parent Commit: 58d818f
Lines Changed: +5, -0

2 Modified Paths:

/source/blender/editors/interface/interface_icons.c (+3, -0) (Diff)
/source/blender/makesdna/DNA_ID.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021