diff options
author | Yevgeny Makarov <jenkm> | 2020-02-03 19:47:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-02-03 20:41:49 +0300 |
commit | 03a29090b57d087b7996dd25e1505537221233f9 (patch) | |
tree | c85b414774dca963a6256b5460d59e032f705390 /source/blender/blenkernel/intern/icons.c | |
parent | 5f056fb742fcc79df74d74911369e6b473ec10f0 (diff) |
UI: invert toolbar icon colors for light toolbar button background
Fixes T64177.
Differential Revision: https://developer.blender.org/D6649
Diffstat (limited to 'source/blender/blenkernel/intern/icons.c')
-rw-r--r-- | source/blender/blenkernel/intern/icons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/icons.c b/source/blender/blenkernel/intern/icons.c index 7b8a0a8894f..6363a23de6c 100644 --- a/source/blender/blenkernel/intern/icons.c +++ b/source/blender/blenkernel/intern/icons.c @@ -842,8 +842,8 @@ struct Icon_Geom *BKE_icon_geom_from_memory(const uchar *data, size_t data_len) p += 2; geom->coords_len = coords_len; - geom->coords = (const void *)p; - geom->colors = (const void *)(p + (data_len / 3)); + geom->coords = (void *)p; + geom->colors = (void *)(p + (data_len / 3)); geom->icon_id = 0; geom->mem = data; return geom; |