Blender Git Loki

Git Commits -> Revision 452a1c7

Revision 452a1c7 by Nathan Craddock (master)
September 15, 2020, 18:47 (GMT)
Collections: Add color tagging

This adds color tagging to collections. There are 8 color
options which are themable in the user preferences, with an additional
option for no color tag by default.

This adds a new filled collection icon and 8 colored variants of the
icon that can be themed in the user preferences.

In this commit the only interface to setting the color tags is through
Python, and there is nowhere in the interface where the collections are
shown colored. Setting and viewing the color tags from the outliner will
follow.

Manifest Task: https://developer.blender.org/T77777

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

Commit Details:

Full Hash: 452a1c7b38383fd3f51532c429912677864e4a33
Parent Commit: f137022
Lines Changed: +186, -2

2 Added Paths:

/release/datafiles/blender_icons16/icon16_outliner_collection.dat (+0, -0) (View)
/release/datafiles/blender_icons32/icon32_outliner_collection.dat (+0, -0) (View)

14 Modified Paths:

/release/datafiles/userdef/userdef_default_theme.c (+26, -0) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+19, -0) (Diff)
/source/blender/blenkernel/intern/collection.c (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+6, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+3, -0) (Diff)
/source/blender/editors/include/UI_icons.h (+10, -1) (Diff)
/source/blender/editors/include/UI_interface_icons.h (+2, -0) (Diff)
/source/blender/editors/interface/interface_icons.c (+48, -0) (Diff)
/source/blender/makesdna/DNA_collection_types.h (+18, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_collection.c (+19, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+24, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.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