Files
test2/source/blender/blenkernel/intern
Bastien Montagne e5e8db73df Refactor BKE_bpath module.
The main goal of this refactor is to make BPath module use `IDTypeInfo`,
and move each ID-specific part of the `foreach_path` looper into their
own IDTypeInfo struct, using a new `foreach_path` callback.

Additionally, following improvements/cleanups are included:
* Attempt to get better, more consistent namings.
** In particular, move from `path_visitor` to more standard `foreach_path`.
* Update and extend documentation.
** API doc was moved to header, according to recent discussions on this
   topic.
* Remove `BKE_bpath_relocate_visitor` from API, this is specific
  callback that belongs in `lib_id.c` user code.

NOTE: This commit is expected to be 100% non-behavioral-change. This
implies that several potential further changes were only noted as
comments (like using a more generic solution for
`lib_id_library_local_paths`, addressing inconsistencies like path of
packed libraries always being skipped, regardless of the
`BKE_BPATH_FOREACH_PATH_SKIP_PACKED` `eBPathForeachFlag` flag value,
etc.).

NOTE: basic unittests were added to master already in
rBdcc500e5a265093bc9cc.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D13381
2021-11-29 14:22:38 +01:00
..
2021-11-16 22:29:50 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-09-24 11:31:23 +10:00
2021-05-25 17:16:54 +02:00
2021-11-29 14:22:38 +01:00
2021-08-06 14:24:16 +10:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-10-12 17:55:02 +11:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-07-07 13:42:46 +10:00
2021-10-12 17:55:02 +11:00
2021-11-29 14:22:38 +01:00
2021-10-06 14:54:05 +11:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-08-19 19:27:49 -07:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-06-18 14:41:24 +10:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-07-29 10:52:08 +10:00
2021-10-19 18:35:39 +11:00
2021-10-06 14:54:05 +11:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-11 14:59:30 +11:00
2021-07-08 13:31:38 +10:00
2021-11-13 12:47:18 +11:00
2021-06-16 16:14:02 +02:00
2021-11-29 14:22:38 +01:00
2021-09-23 22:08:02 +10:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-19 15:55:47 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-10-18 12:13:10 +11:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-08-27 17:02:53 +10:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00