Blender Git Loki

Git Commits -> Revision 0330b05

Revision 0330b05 by Julian Eisel (master)
January 2, 2021, 14:36 (GMT)
Cleanup: Explicitly pass icon size to generation function, not just bool

* This way you don't have to look up the function declaration to know what the
boolean value means.
* You can call the function in a loop over the available sizes and pass the
index as size.
* Makes it easier to add a new size in future if needed.

Commit Details:

Full Hash: 0330b0552b90e647df3ea1f2094f4517df26250d
Parent Commit: 057a8af
Lines Changed: +9, -15

5 Modified Paths:

/source/blender/editors/asset/asset_edit.c (+1, -1) (Diff)
/source/blender/editors/include/UI_interface_icons.h (+1, -1) (Diff)
/source/blender/editors/interface/interface_icons.c (+4, -10) (Diff)
/source/blender/editors/util/ed_util_ops.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021