Blender Git Commit Log

Git Commits -> Revision 3d706bb

March 11, 2021, 17:05 (GMT)
Do proper updates when local asset data changes

Makes sure the asset list is updated and redrawn correctly an local asset data
changes: Creating assets, removing assets, clearing assets, undo/redo, reading
files (with and without UI), parallel reading of asset data from files, ...

For redraws there now is a listener callback in the uiList type (C only) that
asks the asset lists if it needs a redraw after a given notifier. For the case
of asset data-block removal there is a ID remapping function in the asset list
now (just tags the list for a complete re-read). File reading, undo, redo and
the "Mark Asset"/"Clear Asset" operators explicitly tag asset lists showing
main data as dirty (via the global asset storage).

Commit Details:

Full Hash: 3d706bb0f3dd04f7f1d01dbe008463648a6f66f2
Parent Commit: d71b7ff
Lines Changed: +255, -89

17 Modified Paths:

/source/blender/blenkernel/BKE_screen.h (+6, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+3, -0) (Diff)
/source/blender/editors/asset/asset_edit.cc (+6, -0) (Diff)
/source/blender/editors/asset/asset_list.cc (+121, -19) (Diff)
/source/blender/editors/include/ED_asset.h (+12, -4) (Diff)
/source/blender/editors/include/UI_interface.h (+17, -17) (Diff)
/source/blender/editors/interface/interface_templates.c (+21, -18) (Diff)
/source/blender/editors/interface/interface_template_asset_view.cc (+41, -23) (Diff)
/source/blender/editors/screen/area.c (+6, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+3, -6) (Diff)
/source/blender/editors/space_file/filelist.h (+3, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -1) (Diff)
/source/blender/editors/undo/ed_undo.c (+3, -0) (Diff)
/source/blender/editors/util/ed_util.c (+3, -0) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021