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/space_image/image_draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_image') diff --git a/source/blender/editors/space_image/image_draw.c b/source/blender/editors/space_image/image_draw.c index 885a9c18346..e3fd36347fc 100644 --- a/source/blender/editors/space_image/image_draw.c +++ b/source/blender/editors/space_image/image_draw.c @@ -587,14 +587,14 @@ void draw_image_grease_pencil(bContext *C, bool onlyv2d) /* draw in View2D space? */ if (onlyv2d) { /* draw grease-pencil ('image' strokes) */ - ED_gpencil_draw_2dimage(C); + ED_annotation_draw_2dimage(C); } else { /* assume that UI_view2d_restore(C) has been called... */ //SpaceImage *sima = (SpaceImage *)CTX_wm_space_data(C); /* draw grease-pencil ('screen' strokes) */ - ED_gpencil_draw_view2d(C, 0); + ED_annotation_draw_view2d(C, 0); } } -- cgit v1.2.3