Blender Git Commit Log

Git Commits -> Revision ba71378

Revision ba71378 by Bastien Montagne (idtype-refactor)
February 28, 2020, 13:53 (GMT)
Initial demo step for IDType refactor 'cleanup' project.

This is mostly a first version, consider it a base of discussion for how we want to do it.

Once this is agreed on, I'll add all missing callbacks, then on cleanup day I'll add usage of those callbacks in `lib_id` idmanagement code, and me and others can go monkey-editing all our ID types BKE files accordingly.

Regarding `BKE_idcode.h`/`idcode.c`, I think these should then be merged in `BKE_idtype`, then we can see which of idcode functions we keep as-is (as wrappers around new IDTypeInfo), and which we can simply remove in favour of direct usage of IDTypeInfo data by calling code?

This is part of T73719.

Differential Revision: https://developer.blender.org/D6966

Commit Details:

Full Hash: ba71378d86327b6a7998d5c8e5b5b1b29a054a2d
Parent Commit: 9cac5fa
Lines Changed: +213, -10

2 Added Paths:

/source/blender/blenkernel/BKE_idtype.h (+81, -0) (View)
/source/blender/blenkernel/intern/idtype.c (+81, -0) (View)

5 Modified Paths:

/source/blender/blenkernel/CMakeLists.txt (+2, -0) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+13, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+31, -10) (Diff)
/source/creator/creator.c (+2, -0) (Diff)
/tests/gtests/blenloader/blendfile_loading_base_test.cc (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021