Blender Git Loki
Git Commits -> Revision 3a32ff8
Revision 3a32ff8 by Sybren A. Stüvel (temp-asset-browser-catalogs-save-hook) September 27, 2021, 14:03 (GMT) |
BKE Preferences: find asset library containing a path Add `BKE_preferences_asset_library_containing_path(&U, some_path)` that finds the asset library that contains the given path. This is a simple linear search, returning the first asset library that matches. There is no smartness when it comes to nested asset libraries (like returning the library with the best-matching path), although this could be a useful feature to add later. |
Commit Details:
Full Hash: 3a32ff8794f168549410adac5d7903d25f051f95
Parent Commit: f823834
Lines Changed: +23, -0