diff options
author | Antonioya <blendergit@gmail.com> | 2018-08-28 00:16:02 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-08-28 00:16:02 +0300 |
commit | 9195b5b3b138a8c5c18196bd7b1f421574e46d02 (patch) | |
tree | 173b25827c15a3ba1a7cf7e2731ef0687ae5a526 /source/blender/blenkernel/BKE_gpencil.h | |
parent | 35c1baef27b81959d2c16f9f5e935fc91fb02667 (diff) |
GP: Replace custom function by standard API
Replace BKE_gpencil_get_material_index by BKE_object_material_slot_find_index
Diffstat (limited to 'source/blender/blenkernel/BKE_gpencil.h')
-rw-r--r-- | source/blender/blenkernel/BKE_gpencil.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_gpencil.h b/source/blender/blenkernel/BKE_gpencil.h index 0aa7a0de7e6..443d3426868 100644 --- a/source/blender/blenkernel/BKE_gpencil.h +++ b/source/blender/blenkernel/BKE_gpencil.h @@ -94,7 +94,6 @@ void BKE_gpencil_frame_delete_laststroke(struct bGPDlayer *gpl, struct bGPDframe /* materials */ void BKE_gpencil_material_index_remove(struct bGPdata *gpd, int index); void BKE_gpencil_material_remap(struct bGPdata *gpd, const unsigned int *remap, unsigned int remap_len); -int BKE_gpencil_get_material_index(struct Object *ob, struct Material *ma); /* statistics functions */ void BKE_gpencil_stats_update(struct bGPdata *gpd); |