Blender Git Loki
Git Commits -> Revision ad6cccf
Revision ad6cccf by Bastien Montagne (master) June 17, 2020, 15:06 (GMT) |
Refactor duplicate of data-blocks. Main change from user side, besides that all pointers should now be properly remapped to new IDs, is that linked objects are no longer preserved when doing a full copy of scenes. Will open a task to check whether we actually still want that behavior (and re-code it in a more correct way then). This is the main part of work done here, it aims at uniformizing and sanitizing that 'deep copy' process for supported IDs (currently scenes, collections and objects). Note that there will be more follow up commits after that one, but this should be the most risky and changing one. |
Commit Details:
Full Hash: ad6cccf058d0296a8741a6583d12967366a31705
Parent Commit: 514f80b
Lines Changed: +310, -255
10 Modified Paths:
/source/blender/blenkernel/BKE_collection.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_lib_id.h (+10, -0) (Diff)
/source/blender/blenkernel/BKE_object.h (+3, -2) (Diff)
/source/blender/blenkernel/intern/collection.c (+43, -19) (Diff)
/source/blender/blenkernel/intern/object.c (+175, -207) (Diff)
/source/blender/blenkernel/intern/scene.c (+53, -15) (Diff)
/source/blender/editors/object/object_add.c (+12, -6) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+2, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+7, -0) (Diff)
/tests/python/bl_pyapi_idprop_datablock.py (+3, -3) (Diff)
/source/blender/blenkernel/BKE_lib_id.h (+10, -0) (Diff)
/source/blender/blenkernel/BKE_object.h (+3, -2) (Diff)
/source/blender/blenkernel/intern/collection.c (+43, -19) (Diff)
/source/blender/blenkernel/intern/object.c (+175, -207) (Diff)
/source/blender/blenkernel/intern/scene.c (+53, -15) (Diff)
/source/blender/editors/object/object_add.c (+12, -6) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+2, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+7, -0) (Diff)
/tests/python/bl_pyapi_idprop_datablock.py (+3, -3) (Diff)