Blender Git Commit Log
Git Commits -> Revision d44e45c
Revision d44e45c by Bastien Montagne (id_newid_optional) November 22, 2016, 11:24 (GMT) |
Cleanup id->newid usage, initial work. This aims at always ensuring that ID.newid (and relevant LIB_TAG_NEW) stay in clean (i.e. cleared) state by default. To achieve this, instead of clearing after all id copy call (would be horribly noisy, and bad for performances), we try to completely remove the setting of id->newid by default when copying a new ID. This implies that areas actually needing that info (mainly, object editing area (make single user...) and make local area) have to ensure they set it themselves as needed. This is far from simple change, many complex code paths to consider, so will need some serious testing. :/ |
Commit Details:
Full Hash: d44e45c42612a6fbe8dddbbd39a437177e6befb0
Parent Commit: 1be717d
Lines Changed: +179, -145
19 Modified Paths:
/source/blender/blenkernel/BKE_animsys.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_library.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+5, -3) (Diff)
/source/blender/blenkernel/intern/brush.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+5, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/library.c (+25, -8) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/sca.c (+11, -11) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -5) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+2, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+4, -1) (Diff)
/source/blender/editors/object/object_add.c (+63, -44) (Diff)
/source/blender/editors/object/object_relations.c (+40, -58) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+3, -0) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+2, -5) (Diff)
/source/blender/makesdna/DNA_ID.h (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+3, -1) (Diff)
/source/blender/blenkernel/BKE_library.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+5, -3) (Diff)
/source/blender/blenkernel/intern/brush.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+5, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/library.c (+25, -8) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/sca.c (+11, -11) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -5) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+2, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+4, -1) (Diff)
/source/blender/editors/object/object_add.c (+63, -44) (Diff)
/source/blender/editors/object/object_relations.c (+40, -58) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+3, -0) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+2, -5) (Diff)
/source/blender/makesdna/DNA_ID.h (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+3, -1) (Diff)