diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-06 13:10:45 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-06 17:19:29 +0300 |
commit | 173c023197801b45e4c2332e7bc0bc2582c1cc48 (patch) | |
tree | 0cdfc9ef85c0617ca6138433c2d363d7fa7b4c6a /source/blender/blenloader/intern/versioning_250.c | |
parent | 208fafb285367d51328a2c5396fc86ee7746832f (diff) |
Cleanup: rename BKE_library's `new_id()` to `BKE_id_new_name_validate()`.
The former was probably one of the worst function names in our whole
code base, totally misleading, and quiet often used as a variable name too.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_250.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_250.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_250.c b/source/blender/blenloader/intern/versioning_250.c index ab518646565..59a1b57911c 100644 --- a/source/blender/blenloader/intern/versioning_250.c +++ b/source/blender/blenloader/intern/versioning_250.c @@ -441,7 +441,7 @@ static void versions_gpencil_add_main(ListBase *lb, ID *id, const char *name) id->flag = LIB_FAKEUSER; *( (short *)id->name) = ID_GD; - new_id(lb, id, name); + BKE_id_new_name_validate(lb, id, name); /* alphabetic insertion: is in new_id */ if (G.debug & G_DEBUG) |