Files
test/source/blender/blenkernel
Bastien Montagne 08a38e8439 Cleanup & Refactor: BKE_libblock_find_name API.
Simplify both `BKE_libblock_find_name_and_library` and
`BKE_libblock_find_name_and_library_filepath` by only searching for a
matching Library ID, and calling `BKE_libblock_find_name` to finalize
the search.

This factorize most of the search logic, and happens to fix a bug in
`BKE_libblock_find_name_and_library`, which would errosneously early-
return `nullptr` in case it found a name-matching local ID, when a
linked one was looked-up for.

Also added minimal documentation to these functions, especially for the
'library' part of the search parameters.

Pull Request: https://projects.blender.org/blender/blender/pulls/144505
2025-08-13 19:05:59 +02:00
..
2025-04-04 18:38:53 +02:00
2025-05-22 16:32:44 +02:00