Blender Git Loki
Git Commits -> Revision 7c9131d
Revision 7c9131d by Bastien Montagne (master) October 7, 2020, 16:05 (GMT) |
Refactor `BKE_id_copy_ex` to return the new ID pointer. Note that possibility to pass the new ID pointer as parameter was kept, as this is needed for some rather specific cases (like in depsgraph/COW, when copying into already allocated memory). Part of T71219. |
Commit Details:
Full Hash: 7c9131d11eb01a70db440fac7bb3f4b3833d544a
Parent Commit: 1f50beb
Lines Changed: +101, -101
28 Modified Paths:
/source/blender/blenkernel/BKE_lib_id.h (+4, -1) (Diff)
/source/blender/blenkernel/intern/anim_data.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/displist.c (+3, -4) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/hair.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+32, -23) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+8, -13) (Diff)
/source/blender/blenkernel/intern/node.c (+4, -5) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/pointcloud.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/volume.cc (+1, -2) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+8, -4) (Diff)
/source/blender/editors/physics/particle_object.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+7, -10) (Diff)
/source/blender/editors/render/render_shading.c (+4, -4) (Diff)
/source/blender/io/collada/collada_utils.cpp (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_cloth.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_collision.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_datatransfer.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_meshsequencecache.c (+5, -5) (Diff)
/source/blender/modifiers/intern/MOD_normal_edit.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_surface.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_weighted_normal.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim_data.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/displist.c (+3, -4) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/hair.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+32, -23) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+8, -13) (Diff)
/source/blender/blenkernel/intern/node.c (+4, -5) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/pointcloud.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/volume.cc (+1, -2) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+8, -4) (Diff)
/source/blender/editors/physics/particle_object.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+7, -10) (Diff)
/source/blender/editors/render/render_shading.c (+4, -4) (Diff)
/source/blender/io/collada/collada_utils.cpp (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_cloth.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_collision.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_datatransfer.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_meshsequencecache.c (+5, -5) (Diff)
/source/blender/modifiers/intern/MOD_normal_edit.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_surface.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_weighted_normal.c (+1, -1) (Diff)