Blender Git Loki
Git Commits -> Revision 63b7ff9
Revision 63b7ff9 by Bastien Montagne (master) March 4, 2021, 17:43 (GMT) |
Cleanup: Main `foreach ID` code: Remove `MAX_LIBARRAY` and improve comments. The `MAX_LIBARRAY` define was an annoying doublon to the `INDEX_ID_MAX` enum value now defined in `DNA_ID.h`, and it is no more useful. And comments were somewhat outdated. Also added an explanation about chosen order for the `INDEX_ID_<IDTYPE>` order. |
Commit Details:
Full Hash: 63b7ff9f4e5f5b0ff5d6bdb726fcd4e1d118e141
Parent Commit: f951aa0
Lines Changed: +92, -61
19 Modified Paths:
/source/blender/blenkernel/BKE_main.h (+10, -6) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/bpath.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/idtype.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/lib_id_delete.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lib_query.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/main.c (+11, -12) (Diff)
/source/blender/blenkernel/intern/main_idmap.c (+5, -5) (Diff)
/source/blender/blenloader/intern/blend_validate.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+11, -11) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+3, -5) (Diff)
/source/blender/editors/space_outliner/tree/tree_display_libraries.cc (+1, -1) (Diff)
/source/blender/editors/space_outliner/tree/tree_display_orphaned.cc (+1, -1) (Diff)
/source/blender/makesdna/DNA_ID.h (+32, -2) (Diff)
/source/blender/python/intern/bpy_library_load.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_files_link.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/bpath.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/idtype.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/lib_id_delete.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lib_query.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/main.c (+11, -12) (Diff)
/source/blender/blenkernel/intern/main_idmap.c (+5, -5) (Diff)
/source/blender/blenloader/intern/blend_validate.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+11, -11) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+3, -5) (Diff)
/source/blender/editors/space_outliner/tree/tree_display_libraries.cc (+1, -1) (Diff)
/source/blender/editors/space_outliner/tree/tree_display_orphaned.cc (+1, -1) (Diff)
/source/blender/makesdna/DNA_ID.h (+32, -2) (Diff)
/source/blender/python/intern/bpy_library_load.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_files_link.c (+1, -1) (Diff)