From 4d62bb8fe57ca431da669386d47ca185f3624c9a Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Mon, 21 Sep 2020 19:53:36 +0200 Subject: GPencil: New Trace images using Potrace This patch adds a new operator to convert a black and white image into grease pencil strokes. If the image is not B/W, an internal conversion is done. This is the first operator using Potrace, but we expect to add more features in next Blender versions. Reviewed By: HooglyBoogly Maniphest Tasks: T79877 Differential Revision: https://developer.blender.org/D8951 --- source/blender/blenkernel/BKE_gpencil.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/BKE_gpencil.h') diff --git a/source/blender/blenkernel/BKE_gpencil.h b/source/blender/blenkernel/BKE_gpencil.h index f1912b14e8c..c484f0753a3 100644 --- a/source/blender/blenkernel/BKE_gpencil.h +++ b/source/blender/blenkernel/BKE_gpencil.h @@ -282,6 +282,8 @@ void BKE_gpencil_parent_matrix_get(const struct Depsgraph *depsgraph, void BKE_gpencil_update_layer_parent(const struct Depsgraph *depsgraph, struct Object *ob); +int BKE_gpencil_material_find_index_by_name_prefix(struct Object *ob, const char *name_prefix); + void BKE_gpencil_blend_read_data(struct BlendDataReader *reader, struct bGPdata *gpd); #ifdef __cplusplus -- cgit v1.2.3