Blender Git Loki

Blender Git "idtype-refactor" branch commits.

March 5, 2020, 09:28 (GMT)
Cleanup, more comments.
March 5, 2020, 09:02 (GMT)
Merge branch 'master' into idtype-refactor
March 4, 2020, 13:43 (GMT)
Use new idtype callbacks in id_lib code.

As before, it falls back to old code currently when no IDType is found.

New IDTypeInfo is only defined for Object so far.
March 4, 2020, 11:39 (GMT)
Update Object IDTypeInfo with new callbacks.

Also add/improve flags for IDTypeInfo.
March 4, 2020, 11:08 (GMT)
Merge branch 'master' into idtype-refactor
March 4, 2020, 11:08 (GMT)
Merge remote-tracking branch 'origin/idtype-refactor' into idtype-refactor
March 3, 2020, 18:19 (GMT)
IDTypeInfo: add remaining needed callbacks.

Those are the one I can think about as mandatory for now...
March 3, 2020, 17:57 (GMT)
Fix dummy typo.
March 3, 2020, 17:54 (GMT)
Merge branch 'master' into 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
February 28, 2020, 13:45 (GMT)
Initial demo step for IDType refactor 'cleanup' project.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021