Blender Git Commit Log

Git Commits -> Revision 018fffb

Revision 018fffb by Julian Eisel (master)
March 11, 2021, 12:06 (GMT)
Fix failing assert when loading file with untraceable custom asset library

When loading a file with an asset browser open, and it showed a custom asset
library that can't be found currently (e.g. because the file is from somebody
else), the `BLI_assert(0)` in `rna_FileAssetSelectParams_asset_library_get()`
would fail.

There was code to handle this case already, but unlike I thought it didn't run
right after file read. Now it does.

Commit Details:

Full Hash: 018fffbe77414e2d6b80dc50d5f3d2d5bbf71169
Parent Commit: 42c5303
Lines Changed: +2, -0

1 Modified Path:

/source/blender/editors/space_file/space_file.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021