Blender Git Loki
Git Commits -> Revision a7e540d
Revision a7e540d by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, free-refcount-ids, id-remap, missing-libs) September 24, 2015, 18:43 (GMT) |
Clean up `BKE_object_free()` and add `BKE_object_release_datablocks()`. Similar changed to those done for mesh/curve/mball. Also, systematically nullify pointers in `_free()` functions, this does not cost much and can help troubleshooting later. And tag `BKE_object_unlink()` as an horrible piece of code... |
Commit Details:
Full Hash: a7e540d7c8fc0afd060ab8968d441027a1f670cd
Parent Commit: 56dae06
Lines Changed: +118, -59
6 Modified Paths:
/source/blender/blenkernel/BKE_object.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/curve.c (+15, -5) (Diff)
/source/blender/blenkernel/intern/library.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball.c (+6, -2) (Diff)
/source/blender/blenkernel/intern/mesh.c (+16, -6) (Diff)
/source/blender/blenkernel/intern/object.c (+78, -43) (Diff)
/source/blender/blenkernel/intern/curve.c (+15, -5) (Diff)
/source/blender/blenkernel/intern/library.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball.c (+6, -2) (Diff)
/source/blender/blenkernel/intern/mesh.c (+16, -6) (Diff)
/source/blender/blenkernel/intern/object.c (+78, -43) (Diff)