Blender Git Commit Log
Git Commits -> Revision 90aa0a5
Revision 90aa0a5 by Sybren A. Stüvel (master) September 27, 2021, 16:10 (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: 90aa0a52568c629e466b6ccc513afadd0144ee1e
Parent Commit: aafbe11
Lines Changed: +23, -0