Blender Git Commit Log

Git Commits -> Revision 2fb4de1

Revision 2fb4de1 by Campbell Barton (master)
March 4, 2020, 21:21 (GMT)
Cleanup: material API naming

- Use 'BKE_object_material_*', 'BKE_id_material_*' prefix
for functions that operate on Object and ID types.
- Use '_len' suffix for length (matching BLI naming).
- Use '_p' suffix for functions that return a pointer to values
where the value would typically be returned.

Functions renamed:

- BKE_object_material_resize was BKE_material_resize_object
- BKE_object_material_remap was BKE_material_remap_object
- BKE_object_material_remap_calc was BKE_material_remap_object_calc

- BKE_object_material_array_p was BKE_object_material_array
- BKE_object_material_len_p was BKE_object_material_num
- BKE_id_material_array_p was BKE_id_material_array
- BKE_id_material_len_p was BKE_id_material_num

- BKE_id_material_resize was BKE_material_resize_id
- BKE_id_material_append was BKE_material_append_id
- BKE_id_material_pop was BKE_material_pop_id
- BKE_id_material_clear was BKE_material_clear_id

Commit Details:

Full Hash: 2fb4de1f8c1b3117da47aff39972d92cc078dd29
Parent Commit: 5b0f1e7
Lines Changed: +91, -91

18 Modified Paths:

/source/blender/blenkernel/BKE_material.h (+11, -11) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/material.c (+35, -35) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+2, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_add_monkey.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_add_stroke.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+9, -9) (Diff)
/source/blender/editors/interface/interface_eyedropper_gpencil_color.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_select_similar.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+12, -12) (Diff)
/source/blender/editors/object/object_relations.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/render/render_shading.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+5, -5) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021