Blender Git Loki

Git Commits -> Revision d1011c9

Revision d1011c9 by Sybren A. Stüvel (master)
April 3, 2020, 14:54 (GMT)
Cleanup: clarification of 'name' in BKE_idtype functions

The 'name' parameter of `BKE_idtype_idcode_from_name()`, and the `str`
parameter of `idtype_get_info_from_name()`, are expected to be the
'user visible name' of an `IDTypeInfo` struct. This is made clearer in
the code by renaming those parameters to `idtype_name` and mentioning
it in the documentation of the `BKE_idtype_idcode_from_name()`
function.

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

Commit Details:

Full Hash: d1011c9e641220c335aab2456b0598e2c6707d4d
Parent Commit: 3208454
Lines Changed: +8, -8

2 Modified Paths:

/source/blender/blenkernel/BKE_idtype.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/idtype.c (+7, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021