Blender Git Loki
Git Commits -> Revision df63195
Revision df63195 by Bastien Montagne (master) November 30, 2016, 14:27 (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: df63195d2a7bc374398b0b6dfa389db3b40f5a70
Parent Commit: 2f6f756
Lines Changed: +180, -145
20 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/blenloader/intern/readfile.c (+1, -0) (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/blenloader/intern/readfile.c (+1, -0) (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)