Blender Git Loki
Git Commits -> Revision 56dae06
Revision 56dae06 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, free-refcount-ids, id-remap, missing-libs) September 24, 2015, 17:53 (GMT) |
Cleanup of free/unlink/release of ID: mesh/curve/mball. Renamed their `_unlink()` functions to `_release_datablocks()`, since they do not unlink anything (not in the sense `BKE_object_unklink()` does, at least)! Also, added a `const bool do_id_user` to their `_free()`, for consistency, now relevant `_release_datablocks()` func only gets called when this option is set. |
Commit Details:
Full Hash: 56dae06c56ac869a777cdb49ccf4d446fc18d4e2
Parent Commit: fc6f4c1
Lines Changed: +99, -48
8 Modified Paths:
/source/blender/blenkernel/BKE_curve.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_mball.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/curve.c (+38, -20) (Diff)
/source/blender/blenkernel/intern/library.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/mball.c (+21, -6) (Diff)
/source/blender/blenkernel/intern/mesh.c (+28, -10) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -3) (Diff)
/source/blender/blenkernel/BKE_mball.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/curve.c (+38, -20) (Diff)
/source/blender/blenkernel/intern/library.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/mball.c (+21, -6) (Diff)
/source/blender/blenkernel/intern/mesh.c (+28, -10) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -3) (Diff)