Blender Git Loki

Git Commits -> Revision db51206

Revision db51206 by Jacques Lucke (master)
May 16, 2019, 12:11 (GMT)
Refactor: Simplify ID Property freeing

This also makes `IDP_CopyProperty` the "opposite"
of `IDP_FreeProperty`, which is what I'd expect.

Two refactoring steps:
* rename IDP_FreeProperty to IDP_FreePropertyContent
* new IDP_FreeProperty function that actually frees the property

Reviewers: brecht

Differential Revision: https://developer.blender.org/D4872

Commit Details:

Full Hash: db5120603f8f6236d1417199f257e35e0eb8c00b
Parent Commit: c0d7432
Lines Changed: +23, -75

37 Modified Paths:

/source/blender/blenkernel/BKE_idprop.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/addon.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/blender.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/blender_user_menu.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/fmodifier.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/idprop.c (+12, -19) (Diff)
/source/blender/blenkernel/intern/layer.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/screen.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/workspace.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/writeffmpeg.c (+2, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+0, -2) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+0, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_query_iter.cc (+0, -1) (Diff)
/source/blender/editors/armature/armature_utils.c (+0, -3) (Diff)
/source/blender/editors/armature/pose_lib.c (+0, -1) (Diff)
/source/blender/editors/armature/pose_transform.c (+0, -1) (Diff)
/source/blender/editors/armature/pose_utils.c (+0, -1) (Diff)
/source/blender/editors/interface/interface.c (+0, -3) (Diff)
/source/blender/editors/interface/interface_context_menu.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+0, -1) (Diff)
/source/blender/imbuf/intern/metadata.c (+0, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+5, -5) (Diff)
/source/blender/python/generic/idprop_py_api.c (+1, -2) (Diff)
/source/blender/python/intern/bpy_rna.c (+0, -1) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo.c (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm.c (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+0, -2) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+0, -4) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_operator_type.c (+0, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021