Blender Git Loki

Git Commits -> Revision db15c9d

Revision db15c9d by Bastien Montagne (master)
June 1, 2021, 10:01 (GMT)
ID Management: Allow unique name check for linked IDs too.

This is mandatory for liboverride resync, since this feature may imply
we have to create linked overrides in libraries, and there may be
several copies of those.

This is also a first step to a more general support of IDmanagement-editing
library data.

Note that this commit should have absolutely no effect on current code,
as the only function allowed to check unique names for linked IDs
currently is `BKE_libblock_management_main_add`, which is unused.

This commit also adds some basic testing for `BKE_id_new_name_validate`.

Commit Details:

Full Hash: db15c9d1bd9dd85ef1db0df24f4ad56c0b2012fe
Parent Commit: 27910cc
Lines Changed: +81, -14

4 Modified Paths:

/source/blender/blenkernel/BKE_lib_id.h (+4, -2) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+16, -11) (Diff)
/source/blender/blenkernel/intern/lib_id_test.cc (+60, -0) (Diff)
/source/blender/blenloader/intern/versioning_250.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021