Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-20 19:07:58 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-20 20:15:41 +0300
commit1a0181bb6d94252fb4e4873eca8cdedc69c348be (patch)
tree6f9de01cd421092cf883bc29255bf05ce2ac51fc /source/blender/editors/space_nla
parentdecc323b4e843c711554ebae632385d52caca113 (diff)
UI: add support for defining any icon as a mono icon.
Previously it was hardcoded to one row. These icons are colored with the text color. Changes include some refactoring.
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r--source/blender/editors/space_nla/nla_buttons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_buttons.c b/source/blender/editors/space_nla/nla_buttons.c
index 40caf919848..d3964698fa3 100644
--- a/source/blender/editors/space_nla/nla_buttons.c
+++ b/source/blender/editors/space_nla/nla_buttons.c
@@ -277,7 +277,7 @@ static void nla_panel_animdata(const bContext *C, Panel *pa)
uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_LEFT);
uiItemL(row, id->name + 2, RNA_struct_ui_icon(id_ptr.type)); /* id-block (src) */
- uiItemL(row, "", VICO_SMALL_TRI_RIGHT_VEC); /* expander */
+ uiItemL(row, "", ICON_SMALL_TRI_RIGHT_VEC); /* expander */
uiItemL(row, IFACE_("Animation Data"), ICON_ANIM_DATA); /* animdata */
uiItemS(layout);