From 8f790720b07d2f92f1222157be6836ff28a46902 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Tue, 19 Mar 2019 11:01:27 +0100 Subject: GPencil: Rename annotation functions The annotation drawing functions were using gpencil prefix and it's better to keep all annotation code separated to avoid confusion. --- source/blender/editors/include/ED_gpencil.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_gpencil.h b/source/blender/editors/include/ED_gpencil.h index 46aca340ea9..21bccc99b6e 100644 --- a/source/blender/editors/include/ED_gpencil.h +++ b/source/blender/editors/include/ED_gpencil.h @@ -135,8 +135,6 @@ void ED_gpencil_strokes_copybuf_free(void); /* ------------ Grease-Pencil Drawing API ------------------ */ /* drawgpencil.c */ -void ED_gpencil_draw_2dimage(const struct bContext *C); -void ED_gpencil_draw_view2d(const struct bContext *C, bool onlyv2d); void ED_gpencil_draw_view3d( struct wmWindowManager *wm, struct Scene *scene, @@ -145,7 +143,10 @@ void ED_gpencil_draw_view3d( struct View3D *v3d, struct ARegion *ar, bool only3d); -void ED_gpencil_draw_view3d_annotations( + +void ED_annotation_draw_2dimage(const struct bContext *C); +void ED_annotation_draw_view2d(const struct bContext *C, bool onlyv2d); +void ED_annotation_draw_view3d( struct Scene *scene, struct Depsgraph *depsgraph, struct View3D *v3d, struct ARegion *ar, bool only3d); -- cgit v1.2.3