Blender Git Loki
Git Commits -> Revision 38b7563
Revision 38b7563 by Campbell Barton (master) March 23, 2021, 02:58 (GMT) |
Cleanup: de-duplicate gpencil logic to ensure materials - Rename: `BKE_gpencil_object_material_get_index_name`, to `BKE_gpencil_object_material_index_get_by_name` Matching `BKE_gpencil_layer_get_by_name`. - Move logic to ensure named materials into a new function: `BKE_gpencil_object_material_ensure_by_name` |
Commit Details:
Full Hash: 38b7563a4fbb0f06775e980b7439c0354dc78641
Parent Commit: a7239c2
Lines Changed: +28, -44
5 Modified Paths:
/source/blender/blenkernel/BKE_gpencil.h (+5, -1) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+14, -1) (Diff)
/source/blender/editors/gpencil/gpencil_add_lineart.c (+3, -14) (Diff)
/source/blender/editors/gpencil/gpencil_add_monkey.c (+3, -14) (Diff)
/source/blender/editors/gpencil/gpencil_add_stroke.c (+3, -14) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+14, -1) (Diff)
/source/blender/editors/gpencil/gpencil_add_lineart.c (+3, -14) (Diff)
/source/blender/editors/gpencil/gpencil_add_monkey.c (+3, -14) (Diff)
/source/blender/editors/gpencil/gpencil_add_stroke.c (+3, -14) (Diff)