Blender Git Commit Log

Git Commits -> Revision 253dbe7

Revision 253dbe7 by Bastien Montagne (master)
October 7, 2020, 16:05 (GMT)
Refactor: remove `BKE_<id_type>_copy` functions.

Those were only shallow wrappers around `BKE_id_copy`, barely used (even
fully unused in some cases), and we want to get rid of those ID-specific
helpers for the common ID management tasks. Also prevents weird custom
behaviors (like `BKE_object_copy`, who was the only basic ID copy
function to reset user count of the new copy to zero).

Part of 71219.

Commit Details:

Full Hash: 253dbe71dcefabc7abfb992d800caa1d963324d1
Parent Commit: 03ef0cf
Lines Changed: +54, -243

68 Modified Paths:

/source/blender/blenkernel/BKE_action.h (+0, -3) (Diff)
/source/blender/blenkernel/BKE_armature.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_brush.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_cachefile.h (+0, -2) (Diff)
/source/blender/blenkernel/BKE_camera.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_curve.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+0, -2) (Diff)
/source/blender/blenkernel/BKE_hair.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_image.h (+0, -3) (Diff)
/source/blender/blenkernel/BKE_key.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_lattice.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_light.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_lightprobe.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_linestyle.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_mask.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_material.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_mball.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_movieclip.h (+0, -2) (Diff)
/source/blender/blenkernel/BKE_object.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_paint.h (+0, -2) (Diff)
/source/blender/blenkernel/BKE_particle.h (+0, -2) (Diff)
/source/blender/blenkernel/BKE_pointcloud.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_speaker.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_text.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_texture.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_volume.h (+0, -1) (Diff)
/source/blender/blenkernel/intern/action.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/anim_data.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/armature.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/brush.c (+1, -6) (Diff)
/source/blender/blenkernel/intern/cachefile.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/camera.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/curve.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+0, -12) (Diff)
/source/blender/blenkernel/intern/hair.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/image.c (+0, -6) (Diff)
/source/blender/blenkernel/intern/key.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/lattice.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/light.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/lightprobe.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/mask.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/material.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/mball.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/mesh.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/object.c (+2, -15) (Diff)
/source/blender/blenkernel/intern/paint.c (+0, -10) (Diff)
/source/blender/blenkernel/intern/particle.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/pointcloud.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/speaker.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/text.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/texture.c (+0, -7) (Diff)
/source/blender/blenkernel/intern/volume.cc (+0, -5) (Diff)
/source/blender/editors/curve/editcurve.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_mask_extract.c (+3, -3) (Diff)
/source/blender/editors/mesh/meshtools.c (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+10, -8) (Diff)
/source/blender/editors/object/object_relations.c (+16, -15) (Diff)
/source/blender/editors/physics/particle_object.c (+2, -2) (Diff)
/source/blender/editors/render/render_shading.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+2, -2) (Diff)
/source/blender/editors/space_action/action_data.c (+1, -1) (Diff)
/source/blender/editors/space_nla/nla_edit.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_group.c (+1, -1) (Diff)
/source/blender/io/collada/BCAnimationSampler.h (+2, -1) (Diff)
/source/blender/io/collada/DocumentImporter.cpp (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021