Blender Git Loki
Git Commits -> Revision 990406e
Revision 990406e by Julian Eisel (master) December 15, 2020, 16:03 (GMT) |
Fix crash when deleting/renaming asset library while it's visible Storing the asset library reference by name wasn't a good idea, I thought it would work with a careful fallback, but it's easier to just use the index instead. So change to using indices, make sure fallback methods work reliable and make sure the file list is updated when asset libraries are removed. I added a new notifier type for the latter, I prefer not using file notifiers in asset-library/preferences code. We have more than enough values for notifiers left. |
Commit Details:
Full Hash: 990406e1ff9371a8c896b71171caa876cfdff2f6
Parent Commit: 7dc8db7
Lines Changed: +49, -31
7 Modified Paths:
/source/blender/editors/space_file/filelist.c (+6, -1) (Diff)
/source/blender/editors/space_file/filesel.c (+5, -2) (Diff)
/source/blender/editors/space_file/space_file.c (+5, -0) (Diff)
/source/blender/editors/space_userpref/userpref_ops.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+5, -4) (Diff)
/source/blender/makesrna/intern/rna_space.c (+11, -10) (Diff)
/source/blender/windowmanager/WM_types.h (+15, -14) (Diff)
/source/blender/editors/space_file/filesel.c (+5, -2) (Diff)
/source/blender/editors/space_file/space_file.c (+5, -0) (Diff)
/source/blender/editors/space_userpref/userpref_ops.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+5, -4) (Diff)
/source/blender/makesrna/intern/rna_space.c (+11, -10) (Diff)
/source/blender/windowmanager/WM_types.h (+15, -14) (Diff)