diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-19 13:01:27 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-19 13:03:55 +0300 |
commit | 8f790720b07d2f92f1222157be6836ff28a46902 (patch) | |
tree | 69dc71fabb8fcd8316cda622da7675fe9303545e /source/blender/editors/space_image/image_draw.c | |
parent | 8aeb1dbb27aca735efe0df651710c8523212780d (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_image/image_draw.c')
-rw-r--r-- | source/blender/editors/space_image/image_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |